Git Product home page Git Product logo

rbnd-toycity-part1's Introduction

ToyCity Report Generator, Part 1

Project Overview

For this project, we’re going to build a data-crunching sales report generator. Imagine that we run an online retailer “ToyCity” that sells the best toys in all the world. Things are not going well for ToyCity. Children just aren’t playing with real toys anymore.

As a consequence, we’re going to have to start scaling back the number of products we sell. Our boss wants us to toy around with the sales data to garner some insights: which products are selling best, which brand earns us the most money, etc.

Our boss will provide a file with all the sales data. Your assignment is to write Ruby code that reads the sales data in, analyzes it, and prints out a generated report. Eventually we’ll save the resulting report to a new file, but in this first iteration we’ll print the report to the terminal.

Completing this Project

You should have completed all the necessary steps for finishing this project in ToyCity Report Generator, Part 1. Before submitting, ensure your program does the following:

  • Outputs basic information for each product, including its name, retail price, and total number of purchases.
  • Outputs the total sales, average price, and average discount for each product.
  • Outputs the number of toys in stock, average price per toy, and total sales volume for each brand.

Remember, you should not modify any of the existing code we have provided for you.

Submitting Your Project

Before submitting your project for evaluation, we recommend that you check that each of the following is true:

  • Your program runs without any errors
  • You are proud of your project and its output
  • You completed your project according to the instructions
  • You checked your project against the rubric
  • Create a zip file with your For instructions on how to do this, click here. When you feel ready to submit, use the blue 'Submit Project' button below!

rbnd-toycity-part1's People

Contributors

jmvx avatar colt avatar sadysnaat avatar floridamaniac avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.