Skip to content

alessandracaroline/cicadas-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

cicadas-mock

You work for AwesomeMotorcycle Co. and the CEO has decided to buy 1000 motorcycles and try to sell them. She has a giant list of them but figures the new software engineer at the company, you, can help them organize and make queries against it in a more pragmatic fashion.

To Do:

  • Read the CSV file and for each row (aka... bike), turn it into a "motorcycle".
  • Somehow these motorcycles need to be part of a Garage or Dealership or something akin to that, right?
  • Your boss wants to know some specific things:
  1. How many bikes do we have that are less than 5 years old?
  2. How many Japanese bikes do we have (Hondas and Suzukis)?

and the last:

  1. A generic query method... it returns the number of bikes that match the arguments passed, e.g.
dealership = Dealership.new
dealership.query("white", 2009, "BMW")  # returns a number of matching motorcycles

About

will be deleted next week

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published