+ 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; }
0 Answers