Pseudo Code
Pseudo Code
End Structure
Define Constants
Function createRecord()
Increment numPatients
Else
End Function
Function displayRecord(patientId)
End Function
Function searchRecord()
End Function
Function editRecord()
Prompt user for the new value and update the corresponding field in the
record
End Function
Function deleteRecord(patientId)
End Function
Function saveRecordsToFile()
Open a file for writing (e.g., "medical_records.txt")
End Function
Function main()
Call createRecord()
Call saveRecordsToFile()
Else if the user chooses option 8:
End Function
Program End