subject

Hello everyone. I need help. C programming. Create at least two more functions except the main () function to collect them.
Use both to solve the problem below.
1) The parking fee calculation program for the parking lot was prepared.
2) For input, the parking time is input in hours and minutes. Minutes are raised in 10 minute increments.
(Example 1: If 2 hours 3 minutes is entered, it is calculated as 2 hours 10 minutes.
Example 2: If you input 3 hours 48 minutes, it counts as 3 hours 50 minutes.)
3) The fee is 1000 won per 10 minutes. However, it is 25,000 from 4 hours to 24 hours.
Calculate in won. After 24 hours, it is the amount calculated above and every 10 minutes thereafter.
1,000 won, 25,000 won will be added from 4 hours to 24 hours.
Becomes acid.
(Example 1: If you parked for 50 hours, it is calculated as 24 hours * 2 + 2 hours. Therefore,
25,000 * 2 + 1000 * 2 * 6 = 62,000 won.
Example 2: If you parked for 4 hours and 2 minutes, 25,000 won because you exceeded 4 hours.
Example 3: If you parked for 3 hours and 11 minutes, you can calculate the parking fee for 3 hours and 20 minutes.
1000 * (3 * 6 + 2) = 20,000 won.)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:30
Avariable definition defines the name of a variable that will be used in a program, as well as
Answers: 3
question
Computers and Technology, 22.06.2019 20:00
Need asap assignment directions: think of an organization (business, religious institution, volunteer organization, sports team) with which you have been involved. imagine outfitting it with an it infrastructure. prepare a plan for what you would do to support outfitting it. draw a map of a network connecting all the individuals, give them pcs and printers, and lay out the design as best you can. the purpose is to begin working with these concepts, not to build a perfect network.
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
Which of the following would you find on a network
Answers: 3
question
Computers and Technology, 24.06.2019 12:50
What percentage of teens plays video games? a.97% b.100% c.74% d.50%
Answers: 1
You know the right answer?
Hello everyone. I need help. C programming. Create at least two more functions except the main () fu...
Questions
question
Biology, 29.04.2021 20:30
question
Mathematics, 29.04.2021 20:30
question
Mathematics, 29.04.2021 20:30
question
Mathematics, 29.04.2021 20:30