The Apgar Medical group keeps a patient file for each doctor in the office. Each record contains the patient's first and last name, home address, and birth year. The records are sorted in ascending birth year order. Write a program so that display a count of the number of patients born each year John Hanson, 23 Elm, 1927 Mary Locust, 476 Maple, 1950 Susan Monroe, 512 Peachtree, 1957 Carol Fortune, 2819 Locust, 1960 James Fortune, 2819 Locust, 1963 Lawrence Fish, 12 Elm, 1968 Janice Weiss, 234 Birch, 1971 Henry Garza, 199 Second, 1973 Kimberly Swanson, 310 Appletree, 1980 Louis Claude, 2716 Third, 1981 Jill Fox, 12 Oak, 1985 Opal Reynolds, 78 County Line, 1987 Francis Dumas, 67 Fourth, 1992 Madison Conroy, 23 Fifth, 1996 Daniel Moy, 100 Sunset, 1987
-
The Apgar Medical group keeps a patient file for each doctor in the office. Each record contains the patient's first and last name, home address, and birth year. The records are sorted in ascending birth year order. Write a
program so that display a count of the number of patients born each yearJohn Hanson, 23 Elm, 1927
Mary Locust, 476 Maple, 1950
Susan Monroe, 512 Peachtree, 1957
Carol Fortune, 2819 Locust, 1960
James Fortune, 2819 Locust, 1963
Lawrence Fish, 12 Elm, 1968
Janice Weiss, 234 Birch, 1971
Henry Garza, 199 Second, 1973
Kimberly Swanson, 310 Appletree, 1980
Louis Claude, 2716 Third, 1981
Jill Fox, 12 Oak, 1985
Opal Reynolds, 78 County Line, 1987
Francis Dumas, 67 Fourth, 1992
Madison Conroy, 23 Fifth, 1996
Daniel Moy, 100 Sunset, 1987
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images