Question: int main ( ) Variable _ Declarations Statement _ 1 Statement _ 2 . . . Statement _ Last return 0 } 1 - At
int main
VariableDeclarations
Statement
Statement
StatementLast
return
At the beginning of the file, generate your signature with a comment containing your name, date and assignment number
Use cout to generate a welcome prompt of your choice.
Then ask the user about their age, allow the user to input an answer by using cin and saving the input in a variable.
echo back the user's answer using cout.
Compile the code and make sure that it runs without any syntax errors.
Rename main.cpp file
to YourNameAssignmentcpp
Upload this source file cpp file on to Canvas.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
