Question: To be done in C Part one: Read in a file of names: last name, first name will be the format. A) Print the list
To be done in C
Part one:
Read in a file of names: last name, first name will be the format.
A) Print the list of names sorted by last names, i.e., lastName, firstName
Findler, Michael
Miller, Teri
Pochert, Lois
B) Print the list of names sorted by first names., i.e., firstName lastName
Lois Pochert Michael Findler Teri Miller
C) To get ahead of the game, read these in as two separate arrays.
Part Two:
Final version will require the names to be stored in an array of structs.
Names:
Alharbi Wafa
Arnold Justin
Blume Patrick
Bonds Sally
Breaux Aaron
Cardenas Laura
Chase Michael
Chhetri Dhruv
Dearmon Damien
Devous Grant
Ezenwabachili Obiajulu
Flis Rebekah
Halle Mark
Hering Kellison
Hernandez Elizabeth
Herrera Oscar
Huynh Tai
Le Deana
Luu Hoang
Myerly Sean
Prescott Ginger
Qureshi Ali
Saniel Aldec
Sosa Isaiah
Wilkinson Kendall
Findler Michael
Miller Teri
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
