Documente Academic
Documente Profesional
Documente Cultură
HEADER FILES::
#include<iostream.h> #include<conio.h> #include<fstream.h>
FLOW CHART
START
Char mainmenu(char menu); Char mainfunk(char main1); Void search_name(char[],int); Void search_student(int[],int); Void search_book(char[],int); Void fine(int[],int,int[],int,int[],int,int[],int,int[ ],int,int[],int); Void books_issued(int[],int); Void re_issue(char[],int); Char exit(char msg); Char back(char bm);
//funct declarations//
Char mainfunk(charmain1)
Switch (main1)
Case I:
//input of data And making of file And reading data from file//
Input data ofstream myfile; myfile.open(file_handle.txt,ios::out); myfile.close(); Ifstream myfile1; myfile1.open(file_txt,ios::in); myfile1.close();
search_name (name,20);
CaseA: //funct call for search Student// //arrows going Towards func def//
books_issued(no_book sissued,10);
CaseF:
re_issue(name_issued book,50);
CaseY:
CaseX:
exit(msg);
default:
Cout<<wrong entery;
Int i=0
//for loop// while
NO
i<x; if YES
//if statement//
name[i]= =na1[i]
i++;
break;
10
Int j=0
//for loop//
J++;
11
break;
12
//func defini for search book// Void search_book(char name_book[],int) Int j=0 //for loop// while
NO
j<x; //if statement// if YES
13
break;
14
NO
j<x; //if statement// YES ((dd1[j]dd[j]>=5)&&(mm1[j]!= mm[j])&&(yy[j]!=yy1[j ])) J++;
15
if
break;
16
NO
j<x; //if statement// if YES
no_booksi ssued[j]>= 5
J++;
THEN
break;
18
//func definition for check issued Books cant reissue// Void re_issue(char name_issuedbook[],inty) Int j=0 //for loop// while
NO
j<x; //if statement// if YES
THEN
break;
20
EXIT
21
REFRENCE FROM:: SIR ZUBAIR ALI DIETEL & DIETEL INTERNET SEARCHING
22