You are on page 1of 2

// ConsoleApplication14.cpp : Defines the entry point for the console application.

//

#include "stdafx.h"
#include <iostream>
using namespace std;
#include <string>

int main()
{
struct{

string n;// Name


string ad;// Adress
string q; //Qualification
string h; // Height

}biodata1;

struct {

string n;// Name


string ad;// Adress
string q; //Qualification
string h; // Height

}biodata2;

cout << "Input name" << endl;


cin >> biodata1.n;
cout << "Input adress" << endl;
cin >> biodata1.ad;
cout << "Input Qualification" << endl;
cin >> biodata1.q;
cout << "Input height" << endl;
cin >> biodata1.h;
cout << "Input name" << endl;
cin >> biodata2.n;
cout << "Input adress" << endl;
cin >> biodata2.ad;
cout << "Input Qualification" << endl;
cin >> biodata2.q;
cout << "Input Height" << endl;
cin >> biodata2.h;

cout << biodata1.n<< endl;


cout << biodata1.q << endl;
cout << biodata1.ad << endl;
cout << biodata1.h << endl;
cout << biodata2.n << endl;
cout << biodata2.q << endl;
cout << biodata2.ad << endl;
cout << biodata2.h << endl;

system("pause");
return 0;
}

You might also like