C++ Assignment 7
Choose One of the Following

  1. Harder Option: Write a program that calculates the number of buses and taxis required to transport a group of people. Each bus must hold 50 people (no partially filled buses). Taxis can hold 5 people. For a group of 107 people, 2 buses and 2 taxis would be required. (Do NOT use an if statement—whatever that is)
  2. Easier Option: Write a program that asks the user for a speed limit and the speed that they were traveling. The program then calculates the fine for a speeding ticket. Use a base fine for speeding plus an additional fine for each mph over the speed limit.
  • Use Hungarian notation, constants, whitespace, echo user input, indent code in curly braces and all the other elements of good style that we have learned so far
  • Include comments that show sample output, and your name, class and assignment #.
  • Attach the .cpp to an email and send it to mrsimon@lycos.com
  • Don't forget to put your name, class and assignment # on the subject line.