-- Ready Project |BCA Project | MCA Project | BBA Project | MBA Project |INDIA'S BIGGEST COLLEGE PROJECT STORE
#include<iostream.h>
#include<conio.h>
#include<string.h>
class student
{
protected:
int rno;
char name[10],cls[10];
public:
void accept()
{
cout<<"\n Enter roll no if sudent : ";
cin>>rno;
cout<<"\n Enter the name of student :";
cin>>name;
cout<<"\n Enter the class of student :";
cin>>cls;
}
void display()
{
cout<<"\n Roll no. :"< }
};
class Internal_Mark:public virtual student
{
protected:
int i_mark[6];
public:
int internal_mark()
{
int i;
cout<<"\n Enter the 6 subjects marks :";
for(i=0;i<6;i++)
{
cout<<"subject "< cin>>i_mark[i];
}
for(i=0;i<6;i++)
{
if(i_mark[i]>20)
return 1;
}
return 0;
}
void i_display()
{
cout<<"\n Internal marks is : \n ";
for(int i=0;i<6;i++)
{
cout<<"subject "< }
}
};
class External_Mark:public virtual student
{
protected:
int e_mark[6];
public:
int external_mark()
{
int i;
cout<<"\n Enter the 6 subjects External marks :";
for(i=0;i<6;i++)
{
cout<<"\n subject "< cin>>e_mark[i];
}
for(i=0;i<6;i++)
{
if(e_mark[i]>80 || e_mark[i]<32)
return 1;
}
return 0;
}
void e_display()
{
cout<<"\n eXternal marks are : \n ";
for(int i=0;i<6;i++)
{
cout<<"subject "< }
}
};
class result: public Internal_Mark,public External_Mark
{
int total[6];
char grade[10];
float per;
public:
void cal_res()
{ for(int i=0;i<6;i++)
{
total[i]=i_mark[i]+e_mark[i];
}
}
void dis_res()
{
display();
i_display();
e_display();
cout<<"Total marks : \n ";
for(int i=0;i<6;i++)
{
cout<<"subject "< }
};
int main()
{
clrscr();
int n,ch,a,b;
result obj;
do
{
cout<<"\n 1.student info \n 2.Internal mark \n 3.Extranal mark \n 4. Result \n 0. exit";
cout<<"\n Enter your choice : ";
cin>>ch;
switch(ch)
{
case 1: obj.accept();
break;
case 2: a=obj.internal_mark();
break;
case 3: b=obj.external_mark();
break;
case 4: if(a==0 && b==0)
{obj.cal_res();
obj.dis_res();
}
else cout<<"Fail";
break;
case 0: break;
default: cout<<"\n Invalid choice : ";
}
}
while(ch!=0);
getch();
}

Search

Project Categories

Recent Posts

Mail Management System
Posted on 2019-07-18
Online food ordering system
Posted on 2019-07-18
Library Management System
Posted on 2019-07-17
Health center system project
Posted on 2019-07-17
Gym Management System
Posted on 2019-07-17
furniture management system
Posted on 2019-07-17
Electronic shop management system
Posted on 2019-07-17
Automobile Workshop Management
Posted on 2019-07-17
Online Visa Processing System
Posted on 2019-07-17
Inventory management System
Posted on 2019-07-17
petrol-management system
Posted on 2019-07-17
Cloths management system
Posted on 2019-07-17
Society Management system
Posted on 2019-07-17
Mall management system
Posted on 2019-07-17
school management system
Posted on 2019-07-17
Sales Order Processing System
Posted on 2019-07-17
Retail sales management
Posted on 2019-07-17
Raw Materials Management
Posted on 2019-07-17
railway reservation system
Posted on 2019-07-17
purchase and sales management system
Posted on 2019-07-17
Placement Management System
Posted on 2019-07-17
Pet Shop Management System
Posted on 2019-07-17
petrol pump management system
Posted on 2019-07-17
Patient Information System
Posted on 2019-07-17
news agency system
Posted on 2019-07-17
Cinema Booking System
Posted on 2019-07-17
Medical Store System
Posted on 2019-07-17
leave management System
Posted on 2019-07-17
Laboratory Information Management System
Posted on 2019-07-17
content management system
Posted on 2019-07-17
Inventory management System
Posted on 2019-07-17
Institute Management System
Posted on 2019-07-17
Hotel management System
Posted on 2019-07-17
Gym Management System
Posted on 2019-07-17
Garage Management System
Posted on 2019-07-17
Furniture shop management system
Posted on 2019-07-17
Fisheries management  System
Posted on 2019-07-17
Fertilizer scheduling system
Posted on 2019-07-17
online eye care system
Posted on 2019-07-17
Dental Clinic Management System
Posted on 2019-07-17
Cyber Café Management
Posted on 2019-07-17
Milk Billing System
Posted on 2019-07-17
Colddrink management system
Posted on 2019-07-17
Cable management System
Posted on 2019-07-17
Beauty parlor management system
Posted on 2019-07-17
Facebook Clone
Posted on 2019-05-28
Dance Class Management System
Posted on 2019-05-24
Library Management System
Posted on 2019-05-24
Cab Management System
Posted on 2019-05-23
Blood Bank Management system
Posted on 2019-05-23
Beauty Parlour Management System
Posted on 2019-05-23
vissa proccesing system
Posted on 2019-05-23
Toll Plazza
Posted on 2019-05-23
BILLING APPLICATION
Posted on 2019-05-23
FLORICULTURE MANAGEMENT SYSTEM
Posted on 2019-05-23
Car On Rent
Posted on 2019-05-23
E-commers Shop
Posted on 2019-05-23

Sign In