file. This program has five (5) errors in it that require you to debug it. As you find an error, be sure to document what you changed using in-code commenting. ?Below is an explanation of how the program should work.
(1) Prompt the user to input a wall's height and width. Calculate and output the wall's area. (Submit for 2 points).
Enter wall height (feet): 12Enter wall width (feet): 15Wall area: 180.0 square feet
(2) Extend to also calculate and output the amount of paint in gallons needed to paint the wall. Assume a gallon of paint covers 350 square feet. Store this value using a const double variable. (Submit for 1 points, so 3 points total).
Enter wall height (feet): 12Enter wall width (feet): 15Wall area: 180.0 square feetPaint needed: 0.5142857142857142 gallons
(3) Extend to also calculate and output the number of 1 gallon cans needed to paint the wall. Hint: Use a math function to round up to the nearest gallon. (Submit for 2 points, so 5 points total).
Enter wall height (feet): 12Enter wall width (feet): 15Wall area: 180.0 square feetPaint needed: 0.5142857142857142 gallonsCans needed: 1 can(s)
This question was answered on: Apr 19, 2020Buy this answer for only: $15
This attachment is locked
Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .
About this QuestionSTATUS
Apr 19, 2020EXPERT
YES, THIS IS LEGAL
We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.
You can also use these solutions:
- As a reference for in-depth understanding of the subject.
- As a source of ideas / reasoning for your own research (if properly referenced)
- For editing and paraphrasing (check your institution's definition of plagiarism and recommended paraphrase).
NEW ASSIGNMENT HELP?
Order New Solution. Quick Turnaround
Click on the button below in order to Order for a New, Original and High-Quality Essay Solutions. New orders are original solutions and precise to your writing instruction requirements. Place a New Order using the button below.
WE GUARANTEE, THAT YOUR PAPER WILL BE WRITTEN FROM SCRATCH AND WITHIN A DEADLINE.