question archive Write in C language program that will create list of names, by requesting first name, middle initial (only one) and last name of two people
Subject:Computer SciencePrice: Bought3
Write in C language program that will create list of names, by requesting first name, middle initial (only one) and last name of two people. These answers will be create the first two records on the list. The program then will add eight more names to the list with the information from pre-initialized arrays. Once the list contains 10 names, they will be printed and the shortest name will be identified together with its size.
Requirements for the program include:
Example Run: --------------------------------------------------------------------------------- Please enter the first name of actor number 1 :Sean Please enter the middle initial of actor number 1 :Alejandro Please enter the last name of actor number 1 :Penn Please enter the first name of actor number 2 :Rabinadratz Please enter the middle initial of actor number 2 :Jose Please enter the last name of actor number 2 :Tagore Final list of names ------------------- Sean A. Penn Rabinadratz J. Tagor Robert A. De Niro Al B. Pacino Nicole C. Kidman Pamela D. Grier Denzel E. Washington Jackie F. Chan Lucy G. Liu Salma H. Hayek The shortest name in the list is [Lucy G. Liu] It has 11 characters