Write a ‘C++’ program to create a class called student and add a member function getdata( ) to read and print the roll n
Posted: Mon Jun 06, 2022 12:51 pm
Write a ‘C++’ program to create a class called student and add a
member function getdata( ) to read and print the roll no., name,
age and marks(5 subjects) of ‘n’ students, use a calculate()
function to compute the CGPA and use sort() function sort all
students based on CGPA and print the same.
member function getdata( ) to read and print the roll no., name,
age and marks(5 subjects) of ‘n’ students, use a calculate()
function to compute the CGPA and use sort() function sort all
students based on CGPA and print the same.