0
can you help me please? Why doesn't this code work?
#include <iostream> #include <string> using namespace std; int main() { int age =0; string name = ""; cout<<"Enter your name:\n "; cin>>name; cout<<"Enter your age:"; cin>>age; cout<<"Your name is:"<<name<<".\nYour age is:"<<age<<"."; return 0; }
1 Antwort
0
Works for me, what's the problem?