A Private Poly Clinic in Oman wish to develop software toautomate their Patient Monitoring system for storing the details ofthe patients visited the clinic. Develop a system to meet thefollowing requirements:
Develop an algorithm, flow chart and write a Looping in Cprogram to read the gender of
patients and fees to be paid by themas shown in the below table. Calculate the
total fees paid by the female and malepatients separately and display them
with appropriate statements.
 Â
Patient Id | Fees in (OMR) | Â Â Â Â Â Gender |
P001 | 15 | M |
P002 | 10 | F |
P003 | 20 | M |
P004 | 8 | F |
P005 | 12 | M |