Flooring Shop Program
Bobs Flooring Shop gives discounts depending on how many square feet of flooring you buy.
His
rates are as follows
0-1000
square feet. 0% discount
1000-2000
square feet 2% discount
2000-5000
square feet 5% discount
5000
+ square feet 10% discount
Write
a program that lets the user enter the length and width of the flooring that
they need. The user should also enter
the price per square foot that the flooring costs. The program should then calculate a subtotal, discount and
Total. Then the program should
calculate and display the amount of P.S.T (7.5%), G.S.T (7%) and give a final
grand total
2
marks - Entering the data (length,
width and price)
2
marks – Calculating the subtotal
4
marks – Calculating the discount (using IF’s and AND’s) and the Total (before
taxes)
2
marks – Calculating the PST and GST Tax and displaying the final total
2
marks – Aesthetics and User Friendliness
The
form should be set up probably like this
Things
for user to enter
Enter
length______
Enter
width______
Cost Per Foot_______
Information
to be displayed
Area
=__________
Initial
total=________
Discount
Amount=_________
Subtotal=___________
Tax=_________
Final
Total_________