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, 22.06.2019 14:30
What percentage of companies is projected to use social media to locate new employees in 2012
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
Creating "smart interfaces" in all sectors of industry, government, and the public arena is one of the fastest growing hct areas. these interfaces model, interpret, and analyze such human characteristics as speech, gesture, and vision. the field of biometrics, in which humans authenticate themselves to machines, is an area of considerable interest to hct practitioners. fingerprint scans are one of the most frequently used biometric options, and this article, biometric student identification: practical solutions for accountability & security in schools, makes a case for the implementation of fingerprint scans in schools. critique the article, and answer the following questions: according to the author, what are the main benefits of adopting fingerprint scans in schools for student identification? according to the author, what are the main drawbacks of adopting fingerprint scans in schools for student identification? do you agree with the author's assessment of the pl
Answers: 2
question
Computers and Technology, 23.06.2019 16:00
Which analyst position analyzes information using mathematical models to business managers make decisions?
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Afashion designer wants to increase awareness about her brand. which network can she use and why she can use the blank to blank her products online. answers for the first blank: internet, extranet, or intranet answers for the second blank: market, design, and export
Answers: 1
You know the right answer?
The first function, display the company motto with the border. the second function called getinput(...
Questions
question
History, 19.07.2019 10:00
Questions on the website: 13722359