Question: 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

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!