Question: Create a program named Pointing Estimote whose Main ( ) method prompts a user for length and width of a room in feet. Create a
Create a program named Pointing Estimote whose 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 foot ceilings. The price of the job is $ per square foot. Return the price to the Main mathod, and display it
An example of the program is shown below:
Enter length of the room in feet
Enter width of room in feet
cost of job for foot room is $
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: WriteLineThis is an example: value.ToStringC CultureInfo.GetcultureInfo enUS;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
