Question
C++ ARRAYS 3. Population In the Lithuanian register, the personal identification code data of the population is stored in the format SYYMMDDXXXX. Here: S- Gender:
C++ ARRAYS
3. Population
In the Lithuanian register, the personal identification code data of the population is stored in the format SYYMMDDXXXX.
Here:
S- Gender: 3 (male, 1900-1999), 4 (female, 1900-1999), 5 (male, 2000-), 6 2000-),
YY is the last two digits of the year of birth (00, 01, 02, 03,
MM - month of birth number (01, 02, 03, ... 11, 12),
DD - number of the date of birth (01.02, 03, ... 30, 31),
XXXX - registration number (0001 ... 9999).
Make a program that will find the dates of birth of the eldest Lithuanian man and woman and display them on the screen.
The first line of the source data file contains the personal codes n (1 There are 3 Steps involved in it See step-by-step solutions with expert insights and AI powered tools for academic success Get the answers you need in no time with our AI-driven, step-by-step assistanceStep by Step Solution
Step: 1
Get Instant Access to Expert-Tailored Solutions
Step: 2
Step: 3
Ace Your Homework with AI