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
nikdorinn [45]
2 years ago
12

350 square feet requires 1 gallon of paint. Assign gallons_paint with the amount of paint required for wall_area. Sample output

for the given program:
250.0 square feet wall will need:
0.714285714286 gallons of paint
Computers and Technology
1 answer:
Marina CMI [18]2 years ago
4 0
Here's a solution in node.js. Can be easily transcribed to other languages:

var paint_per_sqf = 1/350;
var wall_area = 250.0;
var gallons_paint = wall_area * paint_per_sqf;

console.log(wall_area.toFixed(1) + " square feet wall will need:");
console.log(gallons_paint.toFixed(12) + " gallons of paint");


You might be interested in
What specific type of DNS query instructs a DNS server to process the query until the server replies with an address that satisf
Kaylis [27]
Unsure how it is to be answered
8 0
3 years ago
Why must the image be reduced when the field of view is widened to take in more of the scene?
fiasKO [112]
The lighting in the shot
8 0
2 years ago
Read 2 more answers
Which tool do web designers use to select colors that complement each other?
DaniilM [7]
•color pick eye dropper chrome extension
•color snapper2
•happy hues
•coolors
3 0
2 years ago
The type of cover letter written in response to a posted job opening
amm1812

Answer:

C

Explanation:

I don't have one but I hope you get an A.

I hope this helped

                     

4 0
3 years ago
Consider the following statements. An abstract class is better than an interface when the variables in the abstract class or int
Ksivusya [100]
Well the nonchalant question given for 4th grade red named babyface Justin and Jerome
4 0
2 years ago
Other questions:
  • What is the opening page of a website called?
    9·2 answers
  • Three types of neurons and their function
    11·1 answer
  • In a spreadsheet, equations that use addition, subtraction, multiplication, and division operators, as well as values and cell r
    9·1 answer
  • The acronym LAH stands for
    14·2 answers
  • Who is the person responsible for creating the original website content?
    14·1 answer
  • [c++] Write a recursive function takes a word string as input argument and reverse the word. Print out the results of recursive
    14·1 answer
  • How has technology impacted our lives and the world we live in? In your own words.
    9·1 answer
  • ! (( i > ( f + 1)) es verdadero o falso segun la logica de programación.
    14·1 answer
  • You have been trying all day to check your direct messages on social media. The site is really slow to load and sometimes you ca
    13·1 answer
  • Given class triangle (in files triangle.h and triangle.cpp), complete main() to read and set the base and height of triangle1 an
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!