Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 9- foot ceilings. The price of the job is $6 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 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: {0}", value.ToString("C", CultureInfo.GetcultureInfo ("en-US")));
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Horse Betting The Road To Absolute Horse Racing 2

Authors: NAKAGAWA,YUKIO

1st Edition

B0CFZN219G, 979-8856410593

More Books

Students also viewed these Databases questions