Main Program Flowchart
Main Program Flowchart
START
1. Doctor
2. Patient
3. Exit
ch=ENTER CHOICE
(1,2,3)
YES D
If ch==1
NO
YES
P
If ch==2
NO
YES
if ch==3 STOP
B
2
NO
START YES
D2
If ch==2
NO
3.Update Record NO
6.Exit NO
YES
D5
YES
If ch==6 STOP
NO
2
FLOWCHART FOR ADDING DOCTOR RECORD
D1
D3
D4
Enter Doctor Id
D5
Enter Doctor Id
C
3
NO
START YES
P2
If ch==2
NO
6.Exit NO
YES
P5
YES
If ch==6 STOP
NO
C
FLOWCHART FOR UPDATING PATIENT RECORD
P3
P4
Enter Patient Id
C
FLOWCHART FOR DELETING PATIENT RECORD
P5
Enter Patient Id