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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:00
1. you have a small business that is divided into 3 departments: accounting, sales, and administration. these departments have the following number of devices (computers, printers, etc.): accounting-31, sales-28, and administration-13. using a class c private network, subnet the network so that each department will have their own subnet. you must show/explain how you arrived at your conclusion and also show the following: all available device addresses for each department, the broadcast address for each department, and the network address for each department. also, determine how many "wasted" (not usable) addresses resulted from your subnetting (enumerate them).
Answers: 3
question
Computers and Technology, 23.06.2019 11:50
While preforming before operation pmcs, you notice the front right tire appears slightly under-inflated. what is the proper action?
Answers: 3
question
Computers and Technology, 23.06.2019 13:00
Which of the following statements is false? a. a class can directly inherit from class object. b. if the class you're inheriting from declares instance variables as private, the inherited class can access those instance variables directly. c. a class's instance variables are normally declared private to enforce good software engineering. d. it's often much more efficient to create a class by inheriting from a similar class than to create the class by writing every line of code the new class requires.
Answers: 3
question
Computers and Technology, 24.06.2019 22:00
Need getting google account back, big issue
Answers: 2
You know the right answer?
Write a program that declares a constant named quarts_in_gallon which holds the number of quarts in...
Questions
question
Mathematics, 31.01.2020 20:44
question
Social Studies, 31.01.2020 20:44
Questions on the website: 13722363