Bob's bicycle is aving a sale where all bicycle are 25%off. Design a program which calculates the final cost of a bicycle after taking the discount and taxes into consideration. Sales tax is 7.5%. Use constants for both the discount ate and the sales tax rate.
CODE
Define discount_price as .25
Define tax_price as .075
Declare bicycle_price,discount_price,tax_price as real
Display “Bob’s Bicycle price program”
Display “Enter Bicycle price”
Input bicycle_price
Display “25% discount price”
Set bicycle_amount=bicycle_price*discount_price
Display “Price included tax”
Set total_price=bicycle_amount*tax_price
Display “Total is $”,total_price,”!”
This all I just do mess up coz I have no i dea at all
Thank you for helping
another one
Display the surface area and volume of a cube using the lenfth of a side entered by the user.
al i gusess i know it was wrong
CODE
Define volume as 3
Display “ The surface of area and volume of a cube”
Display “Enter the Length ”
Input length
Set area=6*length^2
Display “The volume of a cube”
Input volume
Set volume=area^3
Display “
please help thank you