Question: Write an application that allows a user to enter the name and birth date of up to 10 friends in two arrays called friend_name and
Write an application that allows a user to enter the name and birth date of up to 10 friends in two arrays called friend_name and friend_birthday both arrays are declared as String arrays and each name has the corresponding birthday. Continue to prompt the user for names and birth-dates until the user enters the sentinel value ZZZ for a name or has entered 10 names, whichever comes first. When the user is finished entering names and birthdays, produce an output that display count of how many names were entered, and then display the names. The program ask the user to type one of the names and display the corresponding birth-date or an error message if the name has not been previously entered. The program keep asking to enter a name until the user enters ZZZ for a name.
(You must use the concept of ARRAY to solve this question).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
