#include<iostream>
#include<string>
using namespace std;

struct Students
{
    string name;    // Unlike classes we can't initlize any data member within structure.
    int ID;
    string Class;
    char Section;
};

void Print(struct Students x)           // Function for printing student information
{
    cout << "Student name is : " << x.name << endl;
    cout << "Student Id is : " << x.ID << endl;
    cout << "Students studies in class " << x.Class << " and section is " << x.Section << endl;
}

int main()
{
    struct Students first;
    first.name = "JOHN";
    first.ID = 1;
    first.Class = "Computer Science";
    first.Section = 'B';

    Print(first);

    /*
    Another and simple way of initializing first - 
    struct Students first = {"JOHN", 1, "Computer Science", 'B'};
    */
    
    return 0;
}