Question: Make a program with C++ and with chains that asks for the name, paternal surname and maternal surname separately and read it in lowercase, year

Make a program with C++ and with chains that asks for the name, paternal surname and maternal surname separately and read it in lowercase, year of birth, month and day

The program must form an "ID" and print it in capital letters according to the following:

2 characters of your first surname

1 character of your second surname

1 character of your name

2 characters of the year, the last two digits

2 characters of the month

2 characters of the day

Example

Juan

Lopez

Mendez

1972

05

14

The output will be:

LOMJ720514

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!