In this project you will write a program which creates, holds, displays and serv
ID: 3535111 • Letter: I
Question
In this project you will write a program which creates, holds, displays and serves student information to the user. For every student you store five different fields: 1) Name and Surname (String), 3) Gender (character M or F), 4) Student number (integer), 5) GPA (real).
The user can perform 5 different main actions shown in a main menu. 1) Add a new student. 2) Search for a student with name and display info, 3) Search for a student with student number and display info, 4) Display the students information for a given GPA range, 5) Display all information for all students.
Your program must display required instructions to guide user through different menu options.Â
Welcome to my Student Information System
Main Menu
 1) Record a new student
 2) Search for a record with name and display its info,
 3) Search for a record with number and display its info,Â
 4) Display all students’ information for a given GPA range
 5) Display all information for all students.
6) Quit
If user chooses 1, start to new student record. You can assume maximum number of students will be 100. It is possible to do without this assumption; however you have to readjust your arrays as new records are added.
1) Record a new student
Enter details for new Student Rec:
Enter Name and Surname:
boray tek
Enter student no:
123
Enter Gender:
M
Enter GPA:
3,6
New Student Record created successfully at position [1]:
Name:boray tek
No:123
Gender:M
GPA:2.6
Later show the main menu again.Â
There are 1 records in my system.
Main Menu
 1) Record a new student
 2) Search for a record with name and display its info,
 3) Search for a record with number and display its info,Â
 4) Display all students information for a given GPA range,
 5) Display all information for all students.Â
 6) Quit
If user chooses 2) ask for the name to search. Search for the record exactly matching searched name. You can use .equals method of strings.  If there is no student with this name then, “Student not found!†will be displayed. Example run is as the following:
2
Enter student name to search
sezin
Student Record Found at position [1]:
Name:sezin
No:12
Gender:w
GPA:2.4
If user chooses 3) the search will be done according to student number, instead of student name.
If user chooses 4) the students’ info in a given GPA range will be displayed. And again if there are no students in the given GPA range then “Student not found in the given GPA range!†will be displayed. Example run:
4
Enter lowest limit
2,5
Enter highest limit
4,5
Student Record Found at position [1]:
Name:sezin ata
No:1
Gender:w
GPA:4.5
Student Record Found at position [2]:
Name:melike
No:2344
Gender:w
GPA:2.5
There are 3 records in my system.
Main Menu
 1) Record a new student
 2) Search for a record with name and display its info,
 3) Search for a record with  number and display its info,Â
 4) Display all students information for a given GPA range,
 5) Display all information for all students.Â
 6) Quit
If user chooses 5), all students’ information will be displayed.
Program will continue until the user chooses to Quit which is 6th option.
Explanation / Answer
Working...
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.