Muscat College wants to maintain the students' record using a CodeBlocks Program. They want to add a module of searching in this program so as to search any particular students' information quickly by using Binary Search Technique. The database has Student_ID (int), Name, Grade (A/B/C), and Passing_Year(int) fields in each students' information. Write a C++ program to search a student information using Student_ID. The database is in order. If the searched product is found, then display product information otherwise display “Product not find “. 1) Creating a structure for a Students' record. 2)Accepting inputs (entering students' details) through keyboard at runtime for maximum 20 students. 3) Search (using Binary Search) a particular record based on the field studen_ID 4) Show an error if the record is not found 5) Show the position of the record found.
Muscat College wants to maintain the students' record using a CodeBlocks
1) Creating a structure for a Students' record.
2)Accepting inputs (entering students' details) through keyboard at runtime for maximum
20 students.
3) Search (using Binary Search) a particular record based on the field studen_ID
4) Show an error if the record is not found
5) Show the position of the record found.
Step by step
Solved in 2 steps