princessjmariep91tjo princessjmariep91tjo
  • 21-05-2018
  • Computers and Technology
contestada

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

Respuesta :

tonb
tonb tonb
  • 21-05-2018
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");


Answer Link

Otras preguntas

What conjecture can you make about the sum of the first 33 positive odd numbers? ​
A 12-foot piece of rope has 5 pieces that are each 1.25 feet cut from it. What is the rope's new length?
You find a clear gem that is made of one substance. What could you do to identify whether the gem is a diamond?
What is the purpose of a job-related fitness evaluation? Provide two examples of career paths that may require fitness evaluation.
Graph the line y-3=-1/3(x+2)
1. who was john locke? 2. what were his 3 big ideas? 3. what does each of his 3 big ideas mean?
What is the equation of the line that passes through the points (−2,4) and (0,3)?
Please I need some answers A few is fine Your supposed to find the LCM and GCF for both
In 1947, the Indian Independence Act separated British India into two countries, India and Pakistan. What was one consequence of this separation? A. India's g
Organizational charts may be used to do what?A. Identify the advantages of a venueB. Keep track of which staff member is handling which tasksC. Promote an event