#include <iostream>
#include <string>
#include <stdlib.h>

using namespace std;

int main(void) 
{	
	const int SIZE = 5;
							   	
	struct Student {
		string name;
		string matrix;
		int age;
	};
	
	Student students[SIZE] = {{"ali", "m100", 21},
	                         {"ali", "m100", 21},
						     {"ali", "m100", 21},
						     {"ali", "m100", 21},
						     {"ali", "m100", 21}};
						     
	Student john = {"john wick", "m105", 31};
			
	for(int i=0; i<SIZE; i++) {
		cout << "Printing data for student - " << i+1 << endl;
		cout << "Student name: " << students[i].name << endl;
		cout << "Student matrix: " << students[i].matrix << endl;
		cout << "Student age: " << students[i].age << endl;	
		cout << endl;
	}
	
	cout << "Student name: " << john.name << endl;
	cout << "Student matrix: " << john.matrix << endl;
	cout << "Student age: " << john.age << endl;	
	
    return 0;
} 
