subject

Write a program that declares a constant named quarts_in_gallon which holds the number of quarts in a gallon (4). also declare a variable named quartsneeded to represent the number of quarts needed for a painting job, and assign an appropriate value. compute and display the number of gallons and quarts needed for the job. display explanatory text with the values—for example, a job that needs 18 quarts requires 4 gallons plus 2 quarts.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 07:00, Jasten
For all machines-not just hammers- the user applies force force to the machine to the machine over a certain distance. a. input b. output c. duo d. none of the above
Answers: 1
image
Computers and Technology, 24.06.2019 00:40, dheydar3506
What is the error in the following pseudocode? module main() call raisetopower(2, 1.5) end module module raisetopower(real value, integer power) declare real result set result = value^power display result end module
Answers: 1
image
Computers and Technology, 24.06.2019 00:50, anthonycraig0205
3. what is the output of the following statements? temporary object1; temporary object2("rectangle", 8.5, 5); temporary object3("circle", 6, 0); temporary object4("cylinder", 6, 3.5); cout < < fixed < < showpoint < < setprecision(2); object1.print(); object2.print(); object3.print(); object4.print(); object1.set("sphere", 4.5, 0); object1.print();
Answers: 1
image
Computers and Technology, 24.06.2019 11:30, nate1808
What does the https: // mean when you type in a website
Answers: 1
You know the right answer?
Write a program that declares a constant named quarts_in_gallon which holds the number of quarts in...

Questions in other subjects:

Konu
History, 20.12.2019 16:31
Konu
Mathematics, 20.12.2019 16:31
Konu
Mathematics, 20.12.2019 16:31