Answer to Question #20155 in C++ for Jenn
Sample Input / output:
Enter your first name : Andre
Enter your last name : Wolf
Your full name is Andre Wolf.
I know that if I have that, I would use a prinft() statement and then use a scanf() statement to complete the whole code but I guess it wasn't right. Any tips?
using namespace std;
char fname, lname;
cout<<"Enter your first name : ";
cout<<"Enter your last name : ";
cout<<"Your full name is "<<fname<<" "<<lname<<".\n";
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!