Question
1. Create a structure student which consists of student ID and subject mark. Allow user to key in 5 students record. Add a command for
1. Create a structure student which consists of student ID and subject mark. Allow user
to key in 5 students record. Add a command for user to search a target (search by student
ID). Prompt a command whether the target is found or not. If the target is found, display
his/her ID, mark and the grade of the mark. (Refer to the screenshot given)
Please indicate clearly whether the sequential (linear) search or the binary search is being
used for this exercise.
The classifications of the classes are as follows:
Grade A 80-100
Grade B 60-79
Grade C 50-59
Grade D 40-49
Grade F 0-39
Sample output :
Sample output :
-
O
* C: Program Files\\\\Borland\\\\CBuilder Projects Project2.exe
Please enter students ID and parks :
Student 1
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started