A hospital keeps a file of blood donors in which each record has the following information
(i) Name
(ii) Age
(iii) Address
(iv) Contact no.
(v) Blood group.
I have to write a program to enter record into a data file “blood donors.dat” and display information of each donors.
And problem is that, whenever i am executing a program it will not display me correct information which i have entered.
Please tell me how will be the correct program to get correct output.