63 074
Assignments Done
99,1%
Successfully Done
In July 2018

Answer to Question #47949 in C++ for adrian ambagan

Question #47949
Write a program that can input the name,age,gender and address and this display the given data.
Expert's answer
#include <stdlib.h>
#include <iostream>  
#include <stdio.h>
#include <cstdlib>  
#include <string>
using namespace std;
int main()
{
string name, gender, address;
cout<<"Ener the name : ";
cin>>name;
system("cls");
cout<<"Ener the gender : ";
cin>>gender;
system("cls");
cout<<"Ener the address : ";
cin>>address;
system("cls");
cout<<"Name    : "<<name<<endl;
cout<<"Gender  : "<<gender<<endl;
cout<<"Address : "<<address<<endl;
system("pause");
return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions