Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Microsoft Visual C# 2017 pages 303-304 Please keep these as basic as possible so that I can understand and follow how it was done. 3.

Microsoft Visual C# 2017 pages 303-304

Please keep these as basic as possible so that I can understand and follow how it was done.

3. Create a program named PaintingEstimate 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() method, and display it.

Math calculation to use in your method: cost = ((length * HEIGHT * 2) + (width * HEIGHT * 2)) * PRICE;

Debugging Excercise

DebugSeven2

Please fix this code so that it can run

// Address an envelope using names and addresses // stored in two parallel arrays using static System.Console; class DebugSeven2 { static void Main() { string[] addressees = {"Ms. Mary Mack", "Mr. Tom Thumb", "Dr. Seuss"}; string[] addresses = {"123 Main", "456 Elm", "87 Maple"}; for(int x = 0; x

The Results for both should look like this:

image text in transcribedimage 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

Concepts Of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

4th Edition

ISBN: 0619064625, 978-0619064624

More Books

Students also viewed these Databases questions

Question

=+ c. a company president deciding whether to open a new factory

Answered: 1 week ago