I ve pretty much just extended the example givin in the tutorial on this site, I was wondering if i could get the program to say the persons name from the 7 th line in the program to the 18th line in the program, i ve also labled where i want it
#include <iostream>
#include <string>
using namespace std;
int main ()
{
string mystr;
cout << "What's your name? ";
getline (cin, mystr);
cout << "Hello " << mystr << ".\n";
cout << "What is your favorite team? ";
getline (cin, mystr);
cout << "I like " << mystr << " too!\n";
cout << "Whose your favorite player? ";
getline (cin, mystr);
cout << "Get Otta here!!! " << mystr << " my fav 2, lol. ";
cout << "Howd they go on the wkend? ";
getline (cin, mystr);
cout << mystr << " Really!, geez i missed a bit << // there name here