You are on page 1of 1

#include<iostream>

using namespace std;


int difstrict();
struct student{
int id;
string name,address;
int age;
float income;
};

int main()
{

difstrict();
}
int difstrict(){
student bcs11;
cout<<"enter your id:"<<endl;
cin>>bcs11.id;
cout<<"enter your name:"<<endl;
cin>>bcs11.name;
cout<<"enter your address:"<<endl;
cin>>bcs11.address;
cout<<"enter your age:"<<endl;
cin>>bcs11.age;
cout<<"enter your income:"<<endl;
cin>>bcs11.income;
cout<<"your id card is: "<<bcs11.id<<endl;
cout<<"your name is:"<<bcs11.name<<endl;
cout<<"your address is:"<<bcs11.address<<endl;
cout<<"your age is:"<<bcs11.age<<endl;
cout<<"your income is:"<<bcs11.income<<endl;
}

You might also like