- #include<iostream>
- using namespace std;
- struct student
- {
- string name;
- int age;
- char gender;
- float weight;
- };
- int main()
- {
- student temari;
- cout<<"Ente the info about a student "<<endl;
- {
- cin>>temari.name;
- cin>>temari.age;
- cin>>temari.gender;
- cin>>temari.weight;
- cout<<temari.name<<endl;
- cout<<temari.age<<endl;
- cout<<temari.gender<<endl;
- cout<<temari.weight<<endl;
- return 0;
- }
- }
