#include<iostream>
using namespace std;
struct student
{
  char name[30];
  int rollno;
  int age;
};
int main()
{
  student s;
  cout<<"\nEnter Student Name: ";
  cin.getline(s.name, 30);
  cout<<"\nEnter Student Roll No: ";
  cin>>s.rollno;
  cout<<"\nEnter Student Age: ";
  cin>>s.age;
  cout<<"\nStudent Record:"<<endl;
  cout<<"\nName: "<<s.name<<endl;
  cout<<"\nRoll No: "<<s.rollno<<endl;
  cout<<"\nAge: "<<s.age;
  return 0;
}
