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:00
Chloe is building a kiosk-based excel application. she wants to make some modifications to the screen elements in order to keep users from being distracted by parts of the application that are irrelevant to her application. she turns to henry for guidance as she knows he built a similar solution earlier this year.chloe has decided to hide the worksheet gridlines and the vertical scroll bar. what does henry tell her to use to do this? a) screen elements dialog boxb) display options dialog boxc) customization dialog boxd) excel options dialog box
Answers: 2
question
Computers and Technology, 23.06.2019 06:30
You have a small company and want to keep your costs low, but it is important your employees share data. which network would provide you with the most economical solution?
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
The first screen you see when you open word2016 what is called?
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
Using the list, you can select the number of photos that will appear on each slide. a. theme b. frame shape c. pictures in album d. picture layout
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, 18.03.2021 02:50
question
Mathematics, 18.03.2021 02:50
question
Mathematics, 18.03.2021 02:50
Questions on the website: 13722363