Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Write a C++ program to store and process some information about students. Implement the following
functionality:
¨ Create a structure to store the following information of a student: Name, Roll Number, Major
Subject, email address, and CGPA (10 marks)
¨ The university offers only three major subjects. They are Physics, Chemistry, and Math. Create
an enumeration to represent these major subjects (5 marks)
¨ Ask user how many students he wants to input. Create an array of student structures accordingly
¨ Create a function inputvalues() passing it the array to fill its elements by taking input from
the user. You should implement appropriate checks on user inputs (30 marks)
¨ Create a function to print all the information of the student who has acquired the highest CGPA
(20 marks)
¨ Create a function to find if a student exists in the system or not. If he exists, print the information
of the student (20 marks)
¨ Create a function to print information of all the students (15 marks)
¨ Your code should be properly formatted and aligned. 10 additional marks will be given if the
whole code would be properly formatted and having good and friendly user interface.
Posted
Updated 5-Apr-10 22:00pm
v2

1 solution

Nobody will do the homework for you. Have you tried to complete this yourself? Please try something yourself and if you cannot do that read some books on basic C++ programming.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900