Display details of those patients whose age is either 25 or 36 or 29 without using comparison operator
Answers
Answered by
0
How to display details of those patients whose age is either 25 or 36 or 29 without using comparison operator
Explanation:
Input details: Patient name, Attender name, Relationship, Age, Address, Aadhar Number, Doctor's name, Insured, Insurance company, Policy number.
Logic: If Age is 25, 36, 29, print patient name, age, doctor's name; else next one. Loop this for the total number of patients in the record.
Output: Patient name, Age and Doctor's name (only for age 25, 36 and 29)
The statements can be writing using a programming language of choice. The logic is given above.
Similar questions