Define a class ’Donor’ to store the below mentioned details of a blood donor. Name,age, address, contact number, blood group, date of last donation. Create ‘n‘ objects ofthis class for all the regular donors at Chennai. Write these objects to a file. Read theseobjects from the file and display only those donors details whose blood group is ‘A+’and had not donated for the last six months.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here