Ask your own question, for FREE!
Computer Science 6 Online
OpenStudy (anonymous):

Please I need Help to do this program....... A parking garage charges $2 for the first half hour, and $0.75 for each additional half hour. The formula the garge uses is charge = 2+ (x-1) * 0.75 where X is the number of half-hours that a costumer parked in the garge. Write a program that first askes a user to enter the number of hours as an enteger, convert it to the number of the half hours, and then use above formula to calculate and pints out the charges.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!