include <iostream>
using namespace std;
int main()
{
int name; //int, char, double, float it doesn't matter, anyway I won't get the desired result
cin >> name;
cout << "Hello, " << name << "! Where do you want to go today?";
return 0;
}
I input the name John Fish for example, but int gives me a number, which i don't understand, char gives me a "J", the first letter only, what to use then?

New Topic/Question
Reply


MultiQuote








|