Task 2 : Creating C Program using struct pointer Create a program is used to store and access “id, name and percentage” for any number of students. Structure array is used in this program to store and display records for many students. It can store “n” number of students record by declaring structure variable as ‘struct student record[n]“, where n can be 3 or 10 etc. Determine the highest grade and number of student passed and failed.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%

3. Task 2 : Creating C Program using struct pointer

Create a program is used to store and access “id, name and percentage” for any number of students. Structure array is used in this program to store and display records for many students. It can store “n” number of students record by declaring structure variable as ‘struct student record[n]“, where n can be 3 or 10 etc. Determine the highest grade and number of student passed and failed.

NOTE:
Your source code must display any of the given sample output below.
It means your source code should be flexible enough to meet any of the given sample output.
Your source code output must be identical to any of the given sample output.
It means you have to strictly follow what are the displayed text, labels, casing of characters in the sample output.
Passing Grade is 70-100.
SAMPLE OUTPUT 1:
Enter Number of Records: 3
Records of STUDENT: 1
ID: 1
Name: Naruto
Percentage: 86.50
 
Records of STUDENT: 2
ID: 2
Name: Luffy
Percentage: 90.50
 
Records of STUDENT: 3
ID: 3
Name: Goku
Percentage: 61.00
 
Highest Grade: 90.50
Total No. of Passed: 2
Total No. of Failed: 1
SAMPLE OUTPUT 2:
Enter Number of Records: 5
Records of STUDENT: 1
ID: 1
Name: Naruto
Percentage: 86.50
 
Records of STUDENT: 2
ID: 2
Name: Luffy
Percentage: 90.50
 
Records of STUDENT: 3
ID: 3
Name: Goku
Percentage: 61.00
 
Records of STUDENT: 4
ID: 4
Name: Saitama
Percentage: 99.75
 
Records of STUDENT: 5
ID: 5
Name: Recca
Percentage: 65.99
 
Highest Grade: 99.75
Total No. of Passed: 3
Total No. of Failed: 2
Codio
Project
File
Edit
Find
Tools
Education
Help
> Project Index (static)
O Debug Current File
View
A Compile & Run
GMENDOZA83
task2.c
3. Task 2: Cr..
1
Your code goes here...
Collapse
3. Task 2: Creating C Program using struct
pointer
Create a program is used to store and access “id,
name and percentage" for any number of
students. Structure array is used in this program
to store and display records for many students. It
can store “n" number of students record by
declaring structure variable as 'struct student
record[n]“, where n can be 3 or 10 etc. Determine
the highest grade and number of student passed
and failed.
NOTE:
Your source code must display any of the given sample output below.
It means your source code should be flexible enough to meet any of the given sample
output.
Your source code output must be identical to any of the given sample output.
It means you have to strictly follow what are the displayed text, labels, casing of
characters in the sample output.
Passing Grade is 70-100.
AR
SAMPLE OUTPUT 1:
100% (1:0)
Transcribed Image Text:Codio Project File Edit Find Tools Education Help > Project Index (static) O Debug Current File View A Compile & Run GMENDOZA83 task2.c 3. Task 2: Cr.. 1 Your code goes here... Collapse 3. Task 2: Creating C Program using struct pointer Create a program is used to store and access “id, name and percentage" for any number of students. Structure array is used in this program to store and display records for many students. It can store “n" number of students record by declaring structure variable as 'struct student record[n]“, where n can be 3 or 10 etc. Determine the highest grade and number of student passed and failed. NOTE: Your source code must display any of the given sample output below. It means your source code should be flexible enough to meet any of the given sample output. Your source code output must be identical to any of the given sample output. It means you have to strictly follow what are the displayed text, labels, casing of characters in the sample output. Passing Grade is 70-100. AR SAMPLE OUTPUT 1: 100% (1:0)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY