cpp | SoloLearn: Learn to code for FREE!

0

cpp

A record in the birthday housekeeper includes the name, age and birthday of a friend. By entering the name, you can find the age and birthday information. Please use the structure body birth to store the records, and implement a function find (birth * all, int n, string name) to query the up-to-date information. input In the first line, a positive integer n is given as the number of records in the birthday housekeeper. Then n lines, each line giving name, age, birthday, separated by spaces. (make sure the name is not repeated) The last line indicates the name to query. output The age and birthday obtained by the query are separated by spaces. If the information does not exist, the output string "not found".

cpp

11/21/2019 11:25:45 PM

chrispine kambimbi

2 Answers

New Answer

+4

Your attempt ?

+2

I think something is missing in your question............🤔 Ah! Yes, I got it ..... It's your attempt. Try putting in some efforts from your side also so that we can also understand that you are willing to do this