Write a program that uses four functions to do the following: **USE ALL GLOBAL VARIABLES 1.) Ask the user for his name, age, and birthday 2.) Print his name 20 times using a DO WHILE loop 3.) Print his name, age, and birthday in the center of the screen for 5 sec. 4.) Tell the user if he is older, younger, or the same age as yourself |
|
|
cin.ignore( numeric_limits<streamsize>::max(), '\n' );
at the end of your program ( just before return 0;
in main )cin.ignore( numeric_limits<streamsize>::max(), '\n' );