Fees Report Management System
Fees Report Management System
//**************************** ********
// THIS CLASS DRAWS LINES, BOXES, ETC.
//**************************** ********
class DRAW
{
public :
void LINE_HOR(int, int, int, char) ;
void LINE_VER(int, int, int, char) ;
void BOX(int,int,int,int,char) ;
};
//**********************************************************
// THIS CLASS CONTROLS ALL THE FUNCTIONS RELATED TO FEES
//**********************************************************
class FEE
{
private :
int Class ;
float tuition, ac, science, computer, activity ;
void DISPLAY(int) ;
void MODIFY_RECORD(int, float, float, float, float, float) ;
public :
void ADDITION(void) ;
void MODIFICATION(void) ;
void FEE_SLIP(void) ;
void LIST(void) ;
void HELP(void);
}fee ;
//****************************************
// MAIN MENU FUNCTION
//****************************************
void mainmenu()
{
system("cls");
for(li=30;li<=50;li++)
{
gotoxy(li,14);
Sleep(30);
printf("*");
}
for(li=50;li>=30;li--)
{
gotoxy(li,30);
Sleep(30);
printf("*");
}
for(lp=15;lp<30;lp++)
{
gotoxy(30,lp);
Sleep(100);
printf("|");
}
for(lp=29;lp>=15;lp--)
{
gotoxy(50,lp);
Sleep(100);
printf("|");
}
gotoxy(15,10);
printf("M: MODIFY");
gotoxy(35,22);
printf("L: LIST");
gotoxy(35,25);
printf("H: HELP");
gotoxy(35,28);
//************************************
// FUNCTION TO DRAW HORIZONTAL LINE
//************************************
//**********************************************************
// FUNCTION TO DRAW VERTICAL LINE
//**********************************************************
//**********************************************************
// FUNCTION TO DRAW BOX LINE
//**********************************************************
void DRAW :: BOX(int column1, int row1, int column2, int row2, char c)
{
char ch=218 ;
char c1, c2, c3, c4 ;
char l1=196, l2=179 ;
if (c == ch)
{
c1=218 ;
c2=191 ;
c3=192 ;
c4=217 ;
l1 = 196 ;
l2 = 179 ;
}
else
{
c1=c ;
c2=c ;
c3=c ;
c4=c ;
l1 = c ;
l2 = c ;
}
gotoxy(column1,row1) ;
cout <<c1 ;
gotoxy(column2,row1) ;
cout <<c2 ;
gotoxy(column1,row2) ;
cout <<c3 ;
gotoxy(column2,row2) ;
cout <<c4 ;
column1++ ;
column2-- ;
LINE_HOR(column1,column2,row1,l1) ;
LINE_HOR(column1,column2,row2,l1) ;
column1-- ;
column2++ ;
row1++ ;
row2-- ;
LINE_VER(row1,row2,column1,l2) ;
LINE_VER(row1,row2,column2,l2) ;
}
//**********************************************************
// FUNCTION TO ADD FEE STRUCTURE IN FEE FILE
//**********************************************************
//**********************************************************
// FUNCTION TO DISPLAY TOTAL FEE AS LIST
//**********************************************************
//**********************************************************
// FUNCTION TO DISPLAY THE RECORD FOR THE GIVEN CLASS
//**********************************************************
//**********************************************************
// FUNCTION TO MODIFY THE FEE RECORD FOR THE GIVEN DATA
//**********************************************************
//**********************************************************
// FUNCTION TO GIVE DATA TO MODIFY THE FEE RECORD
//**********************************************************
//**********************************************************
// FUNCTION TO DISPLAY THE FEE SLIP FOR THE CLASS
//**********************************************************
void FEE::HELP()
{
system("cls");
//**********************************************************
// MAIN FUNCTION TO CREATE MENU AND CALL OTHER FUNCTIONS
//**********************************************************
int main()
{
FEE fee;
fee.ADDITION();
system("cls");
for(i=10;i<71;i++)
{
gotoxy(i,15);
Sleep(30);
printf("#");
}
for(i=70;i>=10;i--)
{
gotoxy(i,22);
Sleep(30);
cout<<" * ";
}
for(j=16;j<=21;j++)
{
gotoxy(10,j);
Sleep(100);
printf("-");
}
for(j=21;j>=16;j--)
{
gotoxy(70,j);
Sleep(100);
printf("-");
}
gotoxy(16,17);
printf("School Fee Structure System In C++");
gotoxy(12,20);
printf(" \tcode-projects.org \n\n");
printf("\t\tPress Any Key To ..........Continue");
getch();
mainmenu();
return 0;
}
OUTPUT
Conclusion:-
• The Project entitled with Fees report management system was
completed Successfully.
• It provides easy methods to manage the load of work easily for
the users.
• It is much fast and more efficient as the data once entered can
be modified and accessed easily.
Bibliography
Sr. Information Source Refrence
2. Codeguru.com internet