Computers and Technology

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.)

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 04:31, caseypearson377
Acloud service provider uses the internet to deliver a computing environment for developing, running, and managing software applications. which cloud service model does the provider offer? a. iaas b. caas c. maas d. paas e. saas
Answers: 1
image
Computers and Technology, 23.06.2019 11:30, leapfroggiez
Auser is given read permission to a file stored on an ntfs-formatted volume. the file is then copied to a folder on the same ntfs-formatted volume where the user has been given full control permission for that folder. when the user logs on to the computer holding the file and accesses its new location via a drive letter, what is the user's effective permission to the file? a. read b. full control c. no access d. modify e. none of the above
Answers: 1
image
Computers and Technology, 23.06.2019 14:00, allison9746
Need ! will choose brainliest! discuss the role of abstraction in the history of computer software.
Answers: 1
image
Computers and Technology, 23.06.2019 21:30, mariah10455
Write a fragment of code that reads in strings from standard input, until end-of-file and prints to standard output the largest value. you may assume there is at least one value. (cascading/streaming logic, basic string processing)
Answers: 3
Do you know the correct answer?
Hello everyone. I need help. C programming. Create at least two more functions except the main () fu...

Questions in other subjects:

Konu
Mathematics, 15.12.2021 23:40
Konu
Chemistry, 15.12.2021 23:40