#include <iostream>#include <ctime>using namespace std ;typedef struct student { private : int a , b , c ; public : void set(int a , int b , int c) { this->a = a ; this->b = b ; this->c = c ; } void prit() { cout << a << endl << b << endl << c << endl ; }}stu;stu st1 ; int main(void){ st1.set(1,2,3); st1.prit(); return 0 ;}