Question: You are asked to define a user-defined data type for students, that will contain the following information about a student: ID number, first name, last

 You are asked to define a user-defined data type for students,

You are asked to define a user-defined data type for students, that will contain the following information about a student: ID number, first name, last name, major, GPA. Your structure should be cal Student. Based on the defined structure, user name on the command line, show how you will use a loop to search for the given name within the array of 5 students. use an array to record information about 5 students. Then, given a Write a C program that will accept a user name as a string input from the user, and then determines whether or not the user name appears as one of the names in the 5 student records. Your program should prompt the user for inputs. If the name is found, your program should display the information in the student's record. You may use predefined functions, such as strempo if you wish. However, this is NOT required. What to submit: (1) Hard copy of your program code(s) 2) Screen shots showing results for sample runs of the program, for at least 3 input cases

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!