Computers and Technology

Your task is to write a function that will compute the cost of painting and exorcism for your customers. For every 200 square feet, one gallon of paint and 10 hours of labor are required. Your company charges $40.00 per hour for labor and $100 per exorcism. Write a program that asks the user for the number of square feet to be painted, the price per gallon of paint, and the number of evil spirits that need to be exorcised. Then write a function that:

1. takes in these values from the user
2. calculates the number of gallons of paint required, the hours of labor required, the cost of paint, the labor charges, the exorcism charges, and the total cost of the job
3. returns these 6 items (in order defined above) in a tuple Your program must then print out this tuple.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:00, blackjack73
3. (6 pts) internally in the computer, with few exceptions, all numerical computation is done using binary numbers. output, however, often uses ascii, which is formed by appending 011 to the left of a bcd code. thus, an algorithm that directly converts a binary integer to a bcd integer is very useful. here is one such algorithm 1) draw lines to the left of the binary number to bound the expected bcd decades. (each decade is a group of 4 bits.) move the binary number one bit to the left. add 0011 to each bcd decade containing a binary value> 0100 repeat steps 2-3 until the last bit in the binary number has been moved into the least significant decade position. (note that when the last bit has been shifted into bcd decade, step 3 is not repeated.) read the bcd result. 2) 3) 4) 5) a) execute the algorithm for the binary number 1101101 b) execute the algorithm for the binary number 01110101110 4. (4 pts) represent the decimal number 3568 in bcd; excess-3 code; ascil; and hex.
Answers: 1
image
Computers and Technology, 22.06.2019 17:30, yoyo9661
Under which key category do the page up and page down keys fall? page up and page down keys fall under the keys category.
Answers: 1
image
Computers and Technology, 23.06.2019 00:00, puppylove899
Which is the correct sequence of steps to set up a document in landscape orientation? a. select page setup from the file menu. then click the margins tab and select landscape. b. select page setup from the edit menu. then click the margins tab and select landscape. c. select page setup from the insert menu. then click the margins tab and select landscape. d. select page setup from the format menu. then click the margins tab and select landscape
Answers: 1
image
Computers and Technology, 23.06.2019 02:00, rah45
Which of the following is not a source of sustainable raw materials? a) coal mine b) flick of sheep c) cotton plantation d) line forest.
Answers: 2
Do you know the correct answer?
Your task is to write a function that will compute the cost of painting and exorcism for your custom...

Questions in other subjects:

Konu
Mathematics, 13.07.2021 14:00
Konu
Computers and Technology, 13.07.2021 14:00
Konu
Mathematics, 13.07.2021 14:00