@somegreendayfan
Program 1, not fully solved, according to the criteria in your note.
Include a program message explaining the objective of the program to the user.
When displaying results to the screen, include explanations so that the user understands what s/he sees.
Display dollar amounts as currency using $ and two decimal places.
Use the following instruction at the start of your output to display real numbers with two decimal places. |
1> Include a program message explaining the objective of the program to the user.
Have a sentence print telling what the program will show. Something like.. "This program will take the amount of hours worked, and show the total amount earned, by multiplying the Hours by the hourly wage the worker is earning."
2> When displaying results to the screen, include explanations so that the user understands what s/he sees.
You tell the amount earned, but that isn't really the objective. Maybe more like "Working for " << HOURS << " hours, at the earning rate of $" << RATE << " per hour, gives the worker a total of $" << money << " per week."
3> Display dollar amounts as currency using $ and two decimal places.
You never showed any dollar signs, plus you should put a space after the 'is', in ".. person is", so the numbers are set apart from the sentence. See the $ displayed in above under #2