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; }

20th Jan 2017, 7:33 PM
Armen Armenakyan
Armen Armenakyan - avatar
1 ответ
0
Works for me, what's the problem?
20th Jan 2017, 7:37 PM
Robobrine
Robobrine - avatar