Question: How to Use the Code Edftor Select the Run Code button to execute the program. Select the Calculate Grade button to generate a score based

How to Use the Code Edftor
Select the "Run Code" button to execute the program.
Select the "Calculate Grade" button to generate a score based on the completed tasks.
Continue to modify, run, and calculate your code until you are happy with the grade.
Select the "Submit" button to turn in the assignment to your instructor.
Create a program named PaintingEstimate whose Main() method prompts a user for length and width of a room in feet. Create a mathod 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 cellings. The price of the job is $6 per square foot. Return the price to the Main() method, and display it.
An example of the program is shown below:
Enter length of the room in feet 30
Enter width of room in feet 16
Cost of job for 3016 foot room is $4,968.00
In order to prepend the $ to currency values, the program will need to use the cultureInfo.GetcultureInfo method. In order to do this, include the statement using System.Globalization; at the top of your program and format the output statements as follows: Writeline("This is an example: {o.}" value.ToString("C", cultureInfo.GetCultureInfo("en(:(un)} is
 How to Use the Code Edftor Select the "Run Code" button

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!