Looking for reliable answers? Westonci.ca is the ultimate Q&A platform where experts share their knowledge on various topics. Discover comprehensive answers to your questions from knowledgeable professionals on our user-friendly platform. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform.

Write a program that gets 5 or more sets of information from user in this format

First name last name Sex(Male –M, Female F) Age

Mellissa Henderson F 12

Marcus Cruz M 51

Anderson Mellissa F 19

Kenneth Lisa F 34

William Nancy F 24

Richard Eric M 69

Ronald William M 13

Christopher Elizabeth F 8

David Rodriguez M 11

Ryan Peter M 31



Your program should generate a 9 digit unique social security number for each person.

It should add Mr. for male Ms. for female when writing it to the screen.

The program should output all the values in the following format (sample)



Ms. Mellissa Henderson 313-20-4343

Mr.Marcus Cruz 603-49-7821

Ms. Anderson Mellissa 213-90-4341

Ms. Kenneth Lisa 313-20-4344

Ms. William Nancy 313-20-4345

Mr. Richard Eric 313-20-4346

Mr.Ronald William 313-20-4349

Ms. Christopher Elizabeth 613-69-7881

Mr.David Rodriguez 603-89-7823

Mr.. Ramirez Bianca 603-49-0821

Male = 40%

Female = 60%



Your program should use

One and/or two dimensional arrays,

Loop(s) to read/write

At least one function

If else statement

Switch statement