Computer science help on C Program to sort records in a file by any field using enum type

Nov 2nd, 2015
Price: $5 USD

Question description

Can you modify my current program to sort records in a file by any field using enum type.I will post my program when accepted the bid because for whatever reason it is not uploading right now.

  • use dynamic memory allocation to allocate memory for each record

  • add error checking
    • each record must have seven pieces of data
    • first, last name, city  - at least two alpha characters each
    • street  name and number -  at least two characters
    • zip code - 5 digits
    • state - two letters only, US postal abbreviations ("CA", "Az")  
    • phone number  - 10 digits
  • create one function to sort records by any field using enum type

Tutor Answer

(Top Tutor) tanezavm
School: Duke University

Studypool has helped 1,244,100 students

Review from student
" The best tutor out there!!!! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1828 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors