Question: Hi Can you give meth code for this question. Write a C + + program that maintains information about blood donors in a blood

"Hi Can you give meth code for this question.
Write a C++ program that maintains information about blood donors in a blood bank. The program should include the following functions 1- Function asks the user to enter all the details of a donor and then returns the data to main. The function should return data using reference parameters. The collected information should include the following: blood donor card number, // long name of donor // String blood group// the possible blood groups are A+, A-, B+, B-, O+, O-, AB+, AB-. mobile phone number //String
2- Function takes a string as parameter and returns true if it is a valid group and false if not. The only possible blood groups are A+, A-, B+, B-, O+, O-, AB+, AB-.3- Function prints the details (blood donor card number, name, blood group, and mobile phone number) of the donor. 4- Function displays the following menu: 1- New blood donor 2- Print Blood Donor Information 3- Print number of donors based on blood group 4- Exit 5- Main function includes at least the following d XA13 efinitions and steps a. An array of type string to hold blood groups. b. An array of type integer to hold number of donors in each blood group. c. Display menu continuously until user enter 4 to exit program. d. When user select 1 from the menu, first function will be called and the array that count donors based on blood group should be increased by 1. e. When user select 2 from the menu, second function will be called, and the current entered donor information should be printed. f. When user select 3 from the menu, ask the user to enter a valid blood group. The program displays the number of donors donated based on entered blood group.
6- Remember to use meaningful names when you define variables and functions."

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!