Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C program Write a program to store final exams results of 10 students Section X-1 for all 5 courses i.e PF, PICT, AP, CAL, ENG.

C program

image text in transcribed

Write a program to store final exams results of 10 students Section X-1 for all 5 courses i.e PF, PICT, AP, CAL, ENG. The program needs to contain the following functionalities: 1. Reads a list of each student's double-precision scores (e.g 38.25) from the keyboard and save it into a 2D array named grade. So, every row carries the marks of one student bearing the roll no = (row no.+ 1). The process of input should be terminated when a negative value has been entered. 2. Finds out the least score in each course. 3. Display roll numbers of students with the least score in each course. 4. Find out the student who ranks last in the class. (Hint: Save total marks for all students in an array and find the student with lowest marks among them) SAMPLE INPUT SAMPLE OUTPUT Sample Outputs for 2: Lowest score in PF: 40 Lowest score in ICT: 30 Lowest score in AP: 10 Lowest score in ENG: 45 Lowest score in CAL: 34 PF 76 85 60 40 90 55 60 83 90 67 1 2 3 4 5 6 7 8 9 1 IICT 68 93 50 30 85 70 40 46 93 85 2 AP 72 86 70 10 100 76 67 54 100 76 3 ENG 63 76 75 45 85 58 78 78 85 83 4 CAL 88 98 55 34 90 57 76 97 89 62 ---> Sample Outputs for 3: Students securing the lowest score in PF is Roll no. 04 Students securing the lowest score in TICT is Roll no. 04. Students securing the lowest score in AP are Roll no. 04. Students securing the lowest score in ENG are Roll no. 04. Students securing the lowest score in CAL are Roll no. 04. Sample Outputs for 4: Last rank in Section X-1 is secured by Roll no. 04 this

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

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions

Question

1. How is the newspaper help to our daily life?

Answered: 1 week ago

Question

1. Prepare a short profile of Mikhail Zoshchenko ?

Answered: 1 week ago

Question

What is psychology disorder?

Answered: 1 week ago

Question

5. Develop a self-management module for a training program.

Answered: 1 week ago