//THE PROGRAM IS TO TEST THE USES OF THE CLASSES OF COLLEGE
//FILE COLLEGE.CPP

#include "College.h"

int main(void)
{
	STUDENT STU;
	PROFESSOR PRO;
	WORKER WOR;

	/*STUDENT RECORD*/
	STU.INSERT_NAME("ZHANG SAN");
	STU.INSERT_SEX("FEMALE");
	STU.INSERT_IDENTIFIER("123456789");
	STU.INSERT_BIRTHDAY("1979/1/1");
	STU.INSERT_AGE(20);
	STU.INSERT_ADDRESS("BGD 100 BEIJING");
	STU.INSERT_STUDENT_ID("12345");
	STU.INSERT_DORMITORY_NUM("8-3-225");
	STU.INSERT_MAJOR("COMPUTER SCIENCE");
	STU.INSERT_LEVEL(5);

	/*PROFESSOR RECORD*/
	PRO.INSERT_NAME("LI SI");
	PRO.INSERT_SEX("MALE");
	PRO.INSERT_IDENTIFIER("11223344");
	PRO.INSERT_BIRTHDAY("1940/1/1");
	PRO.INSERT_AGE(60);
	PRO.INSERT_ADDRESS("111222333 ABCDE CHAOYANG");
	PRO.INSERT_DEPARTMENT("3-3-3");
	PRO.INSERT_WORKTIME(6);
	PRO.INSERT_SALARY(10000);
	PRO.INSERT_TEACH_MAJOR("MATH");
	PRO.INSERT_SEARCH_NAME("THE METHOD FOR CALCULATING");
	PRO.INSERT_GRA_NUM(30);

	/*WORDER RECORD*/
	WOR.INSERT_NAME("WANG WU");
	WOR.INSERT_SEX("MALE");
	WOR.INSERT_IDENTIFIER("44556677");
	WOR.INSERT_BIRTHDAY("1970/1/1");
	WOR.INSERT_AGE(30);
	WOR.INSERT_ADDRESS("234156 EFGHI HAIDIAN");
	WOR.INSERT_DEPARTMENT("10-3-6");
	WOR.INSERT_WORKTIME(10);
	WOR.INSERT_SALARY(1000);
	WOR.INSERT_WORK_TYPE("CLEANER");

	clrscr();
	STU.PRINT();
	cout<<"\n";
	PRO.PRINT();
	cout<<"\n";
	WOR.PRINT();
	getch();
	return 0;
}