The examination department needs an examination module at FURC to store result of Programming Fundamental subject of your class along with other information/attributes. Now, you are required to write a C++ program keeping in mind the following requirements: a. Consider five different attributes like student name, marks of programming fundamental subject, etc. of each student (remaining attributes of your own choice), and then store it using a structure. The attribute of programming fundamental subject’s marks is mandatory b. You should give facility to user to decide that how many students’ data he/she wants to store. For example, if user decides to store data of 5 students then he/she will enter the data of 5 students. c. If by mistake the user provide any student’s marks which are less than 0 or greater than 100 then convert it into 0. d. Display all the students’ data entered by the user. e. You should sum/add the programming fundamental course marks of all the students and then display the total marks of class as well as average. Note: You should not consider/add those students’ marks which are not in the valid range. (See point c). f. Define your own phrases for remarks for the following ranges of class average.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter12: Adding Functionality To Your Classes
Section12.2: Providing Class Conversion Capabilities
Problem 5E
icon
Related questions
Question

Q3. The examination department needs an examination module at FURC to store
result of Programming Fundamental subject of your class along with other
information/attributes. Now, you are required to write a C++ program keeping in
mind the following requirements:
a. Consider five different attributes like student name, marks of programming
fundamental subject, etc. of each student (remaining attributes of your own
choice), and then store it using a structure. The attribute of programming
fundamental subject’s marks is mandatory
b. You should give facility to user to decide that how many students’ data he/she
wants to store. For example, if user decides to store data of 5 students then he/she
will enter the data of 5 students.
c. If by mistake the user provide any student’s marks which are less than 0 or
greater than 100 then convert it into 0.
d. Display all the students’ data entered by the user.
e. You should sum/add the programming fundamental course marks of all the
students and then display the total marks of class as well as average. Note: You
should not consider/add those students’ marks which are not in the valid range.
(See point c).
f. Define your own phrases for remarks for the following ranges of class average.

Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
ADT and Class
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