Ok, i need to place a pause at the end of this program below where it keeps paused until a key (or enter) is pressed. Here is the program.
Thanks in advance for any help!!!
cout<<"Please enter your name: ";
cin.getline(name, 50, '\n');
cout<<"That's my name too."<<endl;
cout<<"That's not my name.";
cout<<"What is your name in uppercase..."<<endl;
cout<<"And, your name in lowercase..."<<endl;
cout<<"Your name is "<<strlen(name)<<" letters long"<<endl;
//the length of the string
cout<<"Enter your last name:";
cin.getline(lastname, 50, '\n');
strcat(name, " ");
cout<<"Your full name is "<<name;