Professional Documents
Culture Documents
CEC-101 P1 Keywords, Symbols Basic
CEC-101 P1 Keywords, Symbols Basic
• Var
• if
• square
• while
• intType
• class
• const
• radius
• main
• else
3. Write a C++ program that takes input from the user for their name and age and then outputs a
personalized gree�ng message along with their age a�er five years.
4. Write a C++ program that takes three dis�nct numbers as input from the user and finds the
sum of the three numbers.
5. Give an output statement that will produce the following message on the screen: