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
-
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 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).
-
Write the rest of the program using assignment statements and if statements as appropriate. The output statements are written for you.
-
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
Get step-by-step solutions from verified subject matter experts
