Question: (60-141) Assignment #3 Deadline: Aug. 3rd, 2018 at 11:59pmm Write a C program that uses string processing functions to properly format a Comma Separated Values

 (60-141) Assignment #3 Deadline: Aug. 3rd, 2018 at 11:59pmm Write a
C program that uses string processing functions to properly format a Comma
Separated Values (csv) file of course information and store them into an
array of structures. Once all data have been formatted and stored, your

(60-141) Assignment #3 Deadline: Aug. 3rd, 2018 at 11:59pmm Write a C program that uses string processing functions to properly format a Comma Separated Values (csv) file of course information and store them into an array of structures. Once all data have been formatted and stored, your program should be able to: a. Add new course b. Search for course information using either course name or course number or term as the search key c. Display all or any course data. d. Save course information Assume that the CourseInfo structure has been defined as follows struct CourseInfot int courseID; char courseName [401 char courseCode [10 char Term [61 int courseSections [3] typedef struct CourseInfo courseInfo; lloptional Example Fields in the input file are comma separated as follows courseName Faculty,Subject,Level,Section1,Section2,Section3,Semester,Year Content of a sample input file programming,03,60,141,1,30,0,W,2015 algebra,03,62,102,2,0,0,S,2013 religion,08,98,938,1,30,90,W,2015 Corresponding field values in the array of structures (after formatting): CourselD CourseNamePROGRAMMING ALGEBRA CourseCode0360-141 Term Sections RELIGION 0898-938 W2015 0362-102 S2013 W2015 30 1 30 90 Hints 1- For formatting data, the following points are to be considered: a. Course ID should be unique sequential integers starting from 1 (not from 0) b. The first letter of the course name must be a capital letter (upper case). c. Course Code should also be unique and store in the format as xxx-Xxx. The first xox part indicates faculty code (xox) and subject code (xx). The second xx part indicates level. For example 0360-141

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!