current position:Home>Input the name, sex, year of birth and other information of five people in a group, and count the number of men and women and the number of people born after 1988 (including 1988).

Input the name, sex, year of birth and other information of five people in a group, and count the number of men and women and the number of people born after 1988 (including 1988).

2022-01-27 00:55:14 CSDN Q & A

Ask everyone , How to use c++ Realization :
Enter a group 5 Personal name 、 Gender 、 Year of birth and other information , Statistics on the number of men and women and 1988 Years later ( contain 1988 year ) Number of births . And in main Function to call and test , And output the running results .




Refer to the answer 1:

Traversal array , Count people by gender . Greater than and less than according to age 1988 The number of people




Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/01/202201270055127496.html

Random recommended