Post Lab - Write a C++ program using VIM


 

Post Lab Exercise

Use vim to write this C++ program.

Your computer pretends to be 10 year older than you. Write a small program, and call it age.cpp that asks for your age, adds ten years to your age and outputs the following smily face

^ ^

\_/

followed by the statement: "My name is LITTLE and I am your computer!" and on the next line prints:

"I am xxx years old. You are 10 years younger than me!", where xxx is replaced by the age of the computer. Finally on the next line, the program prints:

"See you next time! Bye."