Answered step by step
Verified Expert Solution
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
-
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started