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 04:30
Kyle, a receptionist for a building supply company, recently won an award for saving his company money on their phone system. after being presented with kyle's research, the company changed the way in which it made long-distance phone calls and cut their expenses in this area by 75 percent. the new system the kyle's company most likely adopted was wired communications switching stations voip hdtv
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
Experimental data that is expressed using numbers is said to be
Answers: 1
question
Computers and Technology, 25.06.2019 03:30
Which task should happen during the planning stage of a project
Answers: 2
question
Computers and Technology, 25.06.2019 05:30
Two technicians are discussing a resistance measurement. technician a states that components being measured should be removed or isolated from the circuit. technician b states that power to the circuit should be disconnected when measuring resistance. which technician is correct?
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
Mathematics, 15.11.2020 02:20
question
Mathematics, 15.11.2020 02:20
question
Mathematics, 15.11.2020 02:20
question
Mathematics, 15.11.2020 02:20
question
Mathematics, 15.11.2020 02:20
Questions on the website: 13722360