Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Ensure the file named HouseSign.cpp is open in the code editor. You need to declare variables for the following, and initialize them where specified: A

  1. Ensure the file named HouseSign.cpp is open in the code editor.

  2. You need to declare variables for the following, and initialize them where specified:

    • A variable for the cost of the sign initialized to 0.00 (charge).
    • A variable for the number of characters initialized to 8 (numChars).
    • A variable for the color of the characters initialized to "gold" (color).
    • A variable for the wood type initialized to "oak" (woodType).
  3. Write the rest of the program using assignment statements and if statements as appropriate. The output statements are written for you.

  4. Execute the program by clicking the Run button. Your output should be: The charge for this sign is $82.

Not sure how to go about doing this in c++, can somebody help me?

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

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions

Question

Is the person willing to deal with the consequences?

Answered: 1 week ago