Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Step 1 : Add your name and date comments to the top of the program. Step 2 : Create a variable to store the number
Step : Add your name and date comments to the top of the program.
Step : Create a variable to store the number make sure that this is a meaningful name Output this amount.
Step : Create an equation to divide the variable by Output this result. Be sure to use the variable in your equation and not the number
Step : Create an equation to subtract from the step variable and store this result in a new variable. Output the result. Be sure to use the variable in your equation from step and not the
Example Output:
Starting number
Divided by
Subtract
Grading Rubric:
Your name and date is in the comments at the top of the program. point
You created a variable with a meaningful name. point
You used the variable in your equations and your output. points
Your output is correct. points
Your output has spaces and is easy to read. points
You do not have errors in your code point
Note: You can submit the cpp file or you can paste your code into Notepad and save as a txt file to submit.
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