subject

The first function, display the company motto with the border. the second function called getinput() prompts the user for a contract number, and the rental time in minutes and stores them in variables. the header for this function should be def getinput(): it should return 2 values to the calling program. it will not take any parameters since it is receiving data from the user and returning it to the calling program. the third function receive as parameters the account number and the number of minutes rented from the getinput() function. its header should look like: def calculatetotal(acc, min): the function will calculate the number of whole hours rented, the number of minutes remaining and the cost. the cost will be the hours times 40 plus the minutes remaining times 1. create a main() function that a) calls the display function b) calls the getinput() function and stores the return in 2 variables. calls the calculatetotal function and passes in the variables from the getinput() function.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:20
Number of megabytes of ram in a computer. qualitative or quantitative? because
Answers: 3
question
Computers and Technology, 21.06.2019 22:30
Type the correct answer in the box. spell all words correctly.what kind of graph or chart does this image represent? the given image represents a (blank).
Answers: 2
question
Computers and Technology, 22.06.2019 12:30
Which of the choices sean are not true when considering virus behavior
Answers: 1
question
Computers and Technology, 22.06.2019 19:00
If your accelerator suddenly gets stuck what should you do
Answers: 2
You know the right answer?
The first function, display the company motto with the border. the second function called getinput(...
Questions
question
Computers and Technology, 03.02.2022 14:00
question
Arts, 03.02.2022 14:00
question
Mathematics, 03.02.2022 14:00
question
Computers and Technology, 03.02.2022 14:00
question
Computers and Technology, 03.02.2022 14:00
Questions on the website: 13722363