Write a c++ class called 'student' with
Data members:
name(char type),
grade1,grade2 (integer type)
The program asks the user to enter name and grades. Then calc_avg() calculates the average of two grades and disp() display name and average grades on screen in different lines.
Example input:
Alex
8 9
Example output:
Student: Alex
Avg. grade: 8.5