Question: I am having trouble with this problem. When you answer, write the answer into the code. Nothing inside the code can be erased. How to

I am having trouble with this problem. When you answer, write the answer into the code. Nothing inside the code can be erased.
How to Use the Code Editor
Select the "Run Code" button to execute the program.
Select the "Calculate Grade" button to generate a score based on the completed tasks.
Continue to modify, run, and calculate your code until you are happy with the grade.
Select the "Submit" button to turn in the assignment to your instructor.
Your Tasks
In this lab, you complete a pre-written C++ program for a carpenter who creates personalized house signs. The program is supposed to compute the price of any sign a customer orders, based on the following facts:
The charge for all signs is a minimum of $35.00.
The first five letters or numbers are included in the minimum charge; there is a $4 charge for each additional character.
If the sign is made of oak, add $20.00. No charge is added for pine.
Black or white characters are included in the minimum charge; there is an additional $15 charge for gold-leaf lettering.
Instructions
Task 1: You need to declare variables for the following, and initialize them where specified:
A variable (charge) for the cost of the sign initialized to 0.00.
A variable (numchars) for the number of characters initialized to 8.
A variable (color) for the color of the characters initialized to "gold".
A variable (woodType) for the wood type initialized to "oak".
Task 2 Write the rest of the program using assignment statements and if statements as appropriate. The output statements are written for you.
An example of the program is shown below:
The charge for this sign is $82
Your current grade is: 0.00%
HouseSign.cpp 1
HouseSign.cpp >...
// HouseSign.Cpp - This program calculates prices for custom made signs.
#include
 I am having trouble with this problem. When you answer, write

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!