Write a C++ program to print name, age, class, school
1 answer:
Answer:
#include <iostream>
using namespace std;
int main()
{
string name;
string age;
string Nameclass;
string school;
cout<<"What is your name?\n";
cin>>name;
cout<<"What is your age?\n";
cin>>age;
cout<<"What is your class?\n";
cin>>Nameclass;
cout<<"What is your school?\n";
cin>>school;
cout<<"Name: " + name;
cout<<"\nAge: " + age;
cout<<"\nClass: " + Nameclass;
cout<<"\nSchool: " + school;
return 0;
}
Explanation:
You might be interested in
Answer:
windows xp
Explanation:
I think because it is not fast and don't play the games and programs which have higher requirements
Answer:
Web design is very unique, you can express your feelings through creating a page.
Answer is A: cat /use/passwd
Depends? Maybe you can change the background of your computer?
Answer:
hey! that happens to me too!
Explanation:
tbh i just think its whenever you comment on something and someone answers, that appears... but i could be wrong.
lol :)