+ 1

What is the problem with this program ---

#include <iostream> #include<string> using namespace std; int main() { string name,s; int age; cout<<"enter your name:"; cin>>name; cout<<"enter your age:"; cin>>age; cout<<"thank you,"<<name<<"aged"<<age<<; getline(cin,s); return 0; }

18th Sep 2018, 5:24 AM
Md Ibrahim (West Bengal, India)
Md Ibrahim (West Bengal, India) - avatar
1 Respuesta