You have been asked by ABC City Council to develop a parking rate calculator using C++. The program must be able to do the following tasks: a. Read entry time of the vehicle b. Read exit time of the vehicle Calculate the parking charges** based on the following parking rate: Hours Rate 1st to 3rd hours. 4th to 5th hours RM4 per hour RM3 per hour RM2.50 per hour 6th to 9th hours More than 9 hours RM 2 per hour **Ignore the minute for calculating the parking charges. d. Each vehicle will need to pay 2.5% tax per entry. e. Calculate the tax and display the Final Payment to the user. For this Task, you need to: f. Identify input, output and processes for the program g. Create a flowchart to solve the problem

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 20PE: When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making...
icon
Related questions
Question
You have been asked by ABC City Council to develop a parking rate calculator using C++. The
program must be able to do the following tasks:
a. Read entry time of the vehicle
b.
Read exit time of the vehicle
Calculate the parking charges** based on the following parking rate:
Hours
Rate
1st to 3rd hours
4th to 5th hours
6th to 9th hours
RM4 per hour
RM3 per hour
RM2.50 per hour
More than 9 hours
RM 2 per hour
**Ignore the minute for calculating the parking charges.
d. Each vehicle will need to pay 2.5% tax per entry.
e. Calculate the tax and display the Final Payment to the user.
For this Task, you need to:
f. Identify input, output and processes for the
g. Create a flowchart to solve the problem
program
Transcribed Image Text:You have been asked by ABC City Council to develop a parking rate calculator using C++. The program must be able to do the following tasks: a. Read entry time of the vehicle b. Read exit time of the vehicle Calculate the parking charges** based on the following parking rate: Hours Rate 1st to 3rd hours 4th to 5th hours 6th to 9th hours RM4 per hour RM3 per hour RM2.50 per hour More than 9 hours RM 2 per hour **Ignore the minute for calculating the parking charges. d. Each vehicle will need to pay 2.5% tax per entry. e. Calculate the tax and display the Final Payment to the user. For this Task, you need to: f. Identify input, output and processes for the g. Create a flowchart to solve the problem program
Expert Solution
steps

Step by step

Solved in 6 steps with 3 images

Blurred answer
Knowledge Booster
Reference Types in Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning