-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagr.cpp
More file actions
34 lines (33 loc) · 748 Bytes
/
agr.cpp
File metadata and controls
34 lines (33 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include<iostream>
using namespace std;
int main()
{
int a,b,c;
float d,e,f,g;
cout<<"Enter your F.S.C:";
cin>>a;
cout<<"Enter your Matric Marks:";
cin>>b;
cout<<"Enter your ECAT marks:";
cin>>c;
cout<<" your F.S.C %age is ";
d=a*100/1100;
cout<<d<<endl;
cout<<"your Matric %age is ";
e=b*100/1100;
cout<<e<<endl;
cout<<"your ECAT %age is ";
f=c*100/400;
cout<<f<<endl;
g=a*70/1100+c*30/400;
cout<<"your agregate is ";
cout<<g<<endl;
if (g>=80)
{
cout<<"Congratulation you are eligibile For Admission in University of Engineering and Technology Lahore:";
}
else
{
cout<<"Oops Sorry!";
}
}