The Right Speed Bike Shop Purpose – to create a costed Packing Slip reflecting the choices made in purchasing a new bike Topics of Evaluation
1. Obtaining and displaying information
2. Sequential processing
3. Numerical calculations
4. Create a working maintainable programming solution using topics 1-3 above, to implement a point-ofsale system using programming techniques demonstrated in class.
1. Create a model for the program by drawing a flowchart or writing the pseudo code for the program.
2. Create a test plan and proof of output
3. Enter the code to implement your model.
4. Test your code with your test plan. If you discover mistakes, correct the code and model, and execute the test plan again.
5. Validation of input is not required Specifications Inputs Purchaser name (entered as text) Brand name of bike (selected from list)
d) Raleigh Tire size - 20-26 inches (entered as an integer) – add $17.50 per inch Metal alloy of the frame (selected from list)
1) Steel – add $0
2) Aluminum – add $175
3) Titanium – add $425
4) Carbon fiber – add $615 Make a donation to the Green Earth Fund [y/n] (if y, prompt for amount)
Outputs Receipt Heading Purchaser name
Brand name Base price of bike ($500.00)
Tire size and extended price (tire size * $17.50)
Metal alloy amount
Net Price Total
Produce user friendly well-spaced output Right align the number columns Format dollar amounts to two decimal places You must use an if, switch and if/else statement in your solution No GST is applied to the donation amount Your instructor may stipulate additional requirements Submission On or before the suggested due date demonstrate your application to your instructor. You may have your solution repeatedly tested up until the due date. Your instructor will inform you on how/where your final solution should be submitted. See next page for Sample Output….