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.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter8: I/o Streams And Data Files
Section: Chapter Questions
Problem 8PP: (Data processing) A bank’s customer records are to be stored in a file and read into a set of arrays...
icon
Related questions
Question

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
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Graphical User Interface
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT