1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Lilit [14]
3 years ago
9

Finish the program to compute how many gallons of paint are needed to cover the given square feet of walls. Assume 1 gallon can

cover 350.0 square feet. So gallons = the square feet divided by 350.0. If the input is 250.0, the output should be:
0.714285714286
Computers and Technology
1 answer:
Zepler [3.9K]3 years ago
4 0

Answer:

The program in Python is:

Area = float(input("Area: "))

print("Gallons: "+str(Area/350.0))

Explanation:

The requirement of the program is straightforward and what is required is to divide the inputted area by 350.

Hence, the explanation is as follows:

This line prompts user for Area

Area = float(input("Area: "))

This line calculates and prints the equivalent number of gallons

print("Gallons: "+str(Area/350.0))

You might be interested in
Which statement best describes when Variable Substitution (expansion) can occur?
Leona [35]

Answer: d) B & C

Explanation: Variable substitution is the method through which the command substitution is done for the other form of command and regains its value or meaning.

This value substitution is done with the help of double quotes("...") which are inverted as well when a new form of command is to be introduced and it is   known as back quotes. Other given options are incorrect because it is not determined in single quotes.Thus the correct option is option (d).

3 0
4 years ago
Read 2 more answers
Many people in modern society have the notion that hard disks can be searched in an hour and files can be recovered from inciner
atroni [7]

Answer:

The CSI effect.

Explanation:

  • The process of recovering the file or the directory from the hard disks that are  burned by teaming them up to a computer is known as the CSI effect in the hard disk.
  • This term is given by the expertise in the organization and it is used in the modern  society  .The CSI is used for only the hard disk in the computer system.
5 0
4 years ago
Helpppppp pleaseeeeee​
Vikentia [17]

Answer:

A

Explanation:

I mean, I would say that it's A.

sorry, if it didn't help

6 0
3 years ago
A __________network is useful for connecting a small network.
Ket [755]
Guessing - local area network (LAN)
6 0
4 years ago
Read 2 more answers
When you catch an Exception object, you can call ____ to display a list of methods in the call stack so you can determine the lo
KonstantinChe [14]

Answer:

printStackTrace()

Explanation:

printStackTrace() :- This method is present in Java.lang.Throwable class and it prints this Throwable it also prints other details with throwable like backtrace and class name. printStackTrace() prints a stack trace for this Throwable object on the output stream of standard error. So we conclude that the answer is printStackTrace().

3 0
3 years ago
Other questions:
  • Why is a cable modem classified as a digital model?
    12·1 answer
  • Why is it important to open the Map Custom Fields dialog box before importing/exporting a list of contacts? Check all that apply
    6·2 answers
  • Examples of apps include pop-up windows, validation of webform inpts and images that change when a cursor passes over them
    12·1 answer
  • What is the first thing you should do before constructing a window in the IDE?
    14·1 answer
  • If totalMonths has a string value of "13", what does the code that follows display?var years = parseInt ( totalMonths / 12 );var
    6·1 answer
  • Xcvasdfgfdsasdfghjhgf
    7·1 answer
  • 4. What is the simplest way to permanently get rid of an unwanted file?
    12·1 answer
  • When trying to work efficiently, how should you prioritize your tasks? (Site 1)
    8·1 answer
  • Yo, my Lenovo laptop keeps showing this screen but I can't sign in, can someone help me?
    5·2 answers
  • If a base class pointer, p, points to a derived class instance, and both base and derived classes have a method void doIt() whic
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!