Question: Using visual studio C# Console App (.Net Framework): 1. The Main() method prompts a user for length and width of a room in feet. Create

Using visual studio C# Console App (.Net Framework):

1. The Main() method prompts a user for length and width of a room in feet. Create a method that accepts the values and then computes the cost of painting the room, assuming the room is rectangular and has four full walls and 9-foot ceilings. The price of the job is $6 per square feet. Return the price to the Main () method and display it.

2. Ask the user if another room is to be painted. If yes, allow the user to continue entering the length and width of the room, estimate the cost for painting this room, and display this cost. If no, stop estimating the cost of the painting job.

3. Add up the total cost for painting all the rooms and display this total cost.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!