Question: CMPE - 2 2 3 / ISYE - 2 2 3 ALGORITHMS AND PROGRAMMING 2 0 2 3 / 2 0 2 4 Fall Homework

CMPE-223/ ISYE-223
ALGORITHMS AND PROGRAMMING
2023/2024 Fall
Homework
Write a complete C or C++ program to implement student directory. Consider the structure fields given below. Your program should have the following menu. Write necessary user defined functions for each of the menu entries:
Menu:
1- Add a new student to directory
2- Delete a student from the directory
3- List available students
4- Search a student:
A - Search according to student id
B - Search according to student name
5- Update student information
6- Sort the list
A - Sort according to student id (ascending order)
B - Sort according to student name (alphabetic order)
C - Sort according to registration year (descending order)
7- Display the student information holding max. cgpa
8- Quit
struct date
{
int day, month, year;
};
struct student
{
int std_id;
char std_name[20], std_surname[20];
struct date reg_date;
float cgpa;
}student_directory [100];
Important notes:
Write a user defined function for each menu option.
Please upload your source code from the moodle. If you have difficulty or problems about upload process, please e-mail to
rismai@ciu.edu.tr kyurtkan@ciu.edu.trormbuzun@ciu.edu.tr.
Submission date: 14th of January 2024, SUNDAY, @ 23:55.
Late submission penalty: ,%10 per day.
GOOD LUCK!!!
2
 CMPE-223/ ISYE-223 ALGORITHMS AND PROGRAMMING 2023/2024 Fall Homework Write a complete

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!