#include <iostream>
#include <string>
#include <cstring>
using namespace std;
int main()
{
char name[20];
string lastName;
char grade;
int age;
cout<<"What is your first name ";
cin.getline(name,20);
cout<<"What is your last name ";
getline(cin, lastName);
cout<<"What letter grade do you deserve? ";
cin>>grade;
cout<<"What is your age?";
cin>>age;
cout<<"Name: "<<lastName<<", "<<name<<endl;
cout<<"Grade: "<<grade<<endl;
cout<<"Age: "<<age<<endl;
return 0;
}
HELP: If someone request a B than I'm supposed to print a C. If someone request a C I print D. F is the last letter. How can I do this?