Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Design Operation And Evaluation Of Mobile Communications

Authors: Gavriel Salvendy ,June Wei

1st Edition

3030770249, 978-3030770242

More Books

Students also viewed these Programming questions