College application c++
#include<iostream>
#include<iomanip>
using namespace std;
class college_Appln
{
protected:
int appln_No;
char name[30];
int age;
float marks[6];
public:
void get();
void print();
};
class arts_Appln:public college_Appln
{
float entrance;
float cutoff;
public:
void calc_Cutoff();
void print();
};
class engg_Appln:public college_Appln
{
float cutoff;
float entrance;
public:
void get();
void print();
void calc_Cutoff();
};