Sei sulla pagina 1di 3

Line No. x ID P[x].

patient_ID choose
51 5
52 5
53 5
60 5
62 0
63 0
65 0
66 0
67 0
68 0
108 0
110 0
111 0 1122
112 0 1122 1100
113 1 1122 1100
112 1 1122 1110
113 2 1122 1110
112 2 1122 1111
113 3 1122 1111
112 3 1122 1120
113 4 1122 1120
112 4 1122 1121
113 5 1122 1121
112 5 1122 1122
114 5 1122 1122
115 5 1122 1122
117 5 1122 1122
118 5 1122 1122

119 5 1122 1122


120 5 1122 1122
124 5 1122 1122
126 5
127 5
128 5 0

130 5 0
131 5 1
132 5 1
135 5 1
137 5 1
139 5 1

140 5 1
choice yn P[x].full_empty Expected Output

0
0
0
0
0 Welcome To Delete
0 If You Want To Delete All Data Press 1.
0 If You Want To Delete Data Separately Press 2.
2
2
2 0
2 0 Please Enter The Patient's ID Number:
2 0
2 0 1
2 0 1
2 0 1
2 0 1
2 0 1
2 0 1
2 0 1
2 0 1
2 0 1
2 0 1
2 0 1
2 0 1
2 0 1
2 0 Patient Found!
2 0
Are You Sure You Want To Delete This Patient? (1.
2 0 Yes, 0. No)
2 1
2 1
0
0 Patient Data Has Been Deleted
0
Do You Wish To Restore Patient's Data? (1. Yes, 0.
0 No)
0
0
0
1
1 Patient's Data Restored!
Name: Jennica Willams - ID Number: 1122 Age: 17
1 Sex: F Medical Issue: Severe Cough
Sample Data
ID 1122
Name Jessica
x 5
choice 2
yn 1
choose 1
Age 17
Sex F
Medical Issue Severe Cough

Potrebbero piacerti anche