Question: int main ( ) Variable _ Declarations Statement _ 1 Statement _ 2 . . . Statement _ Last return 0 } 1 - At

int main()
Variable_Declarations
Statement_1
Statement_2
...
Statement_Last
return 0
}
1- At the beginning of the file, generate your signature with a comment containing your name, date and assignment number
2- Use cout to generate a welcome prompt of your choice.
3- Then ask the user about their age, allow the user to input an answer by using cin and saving the input in a variable.
4- echo back the user's answer using cout.
5- Compile the code and make sure that it runs without any syntax errors.
6- Rename main.cpp file
to YourName_Assignment0.cpp
7- Upload this source file (.cpp file) on to Canvas.
 int main() Variable_Declarations Statement_1 Statement_2 ... Statement_Last return 0 } 1-

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!