Challenge #4: Tax & Discount Calculator
Challenge: Create a program that asks for an original price and a discount (as a percentage). The program should then calculate (and display) the discounted price, the tax and the total price after the tax and the discount.
Video Tutorial: Calculating Tax
Extension: Have the program show how much money was saved (after tax) as a result of the discount.
MTH1W Curriculum Links:
B3.5 Pose and solve problems involving rates, percentages, and proportions in various contexts, including contexts connected to real-life applications of data, measurement, geometry, linear relations, and financial literacy
C2.1 Use coding to demonstrate an understanding of algebraic concepts including variables, parameters, equations, and inequalities
C2.2 Create code by decomposing situations into computational steps in order to represent mathematical concepts and relationships, and to solve problems