#include<stdio.h>
int main()
{
float a,a1,a2,a3,a4,Bangla,English,Math,Religion,Physich,Compulsory,Chemistry,SocalScience,Optional;
float c,ekual,full;
printf("\n\n\n\n\n\t\t\t\t>GPA FINDER SOFT<");
printf("\n\n\t\t ***BAKERGONJ J,S,U MODEL HIGH SCHOOL***\n\n");
printf("\t\t =======================================");
printf("\n\n\tEnter Your Bangla 1st paper number :");
scanf("%f",&a);
if(a>=80 && a<=100)
Bangla = 5;
else if(a>=70 && a<80)
Bangla = 4;
else if(a>=60 && a<70)
Bangla = 3.50;
else if(a>=50 && a<60)
Bangla = 3;
else if(a>=40 && a<50)
Bangla = 2;
else if(a>=33 && a<40)
Bangla = 1;
printf("\t=>your great in bangla 1st paper : %0.2f",Bangla);
printf("\n\n\tEnter Your Bangla 2nd paper number :");
scanf("%f",&a);
if(a>=80 && a<=100)
Bangla = 5;
else if(a>=70 && a<80)
Bangla = 4;
else if(a>=60 && a<70)
Bangla = 3.50;
else if(a>=50 && a<60)
Bangla = 3;
else if(a>=40 && a<50)
Bangla = 2;
else if(a>=33 && a<40)
Bangla = 1;
printf("\t=>your great in Bangla 2nd paper : %0.2f",Bangla);
printf("\n\n\tEnter Your English 1st paper number :");
scanf("%f",&a1);
if(a1>=80 && a1<=100)
English = 5;
else if(a1>=70 && a1<80)
English = 4;
else if(a1>=60 && a1<70)
English = 3.50;
else if(a1>=50 && a1<60)
English = 3;
else if(a1>=40 && a1<50)
English = 2;
else if(a1>=33 && a1<40)
English = 1;
printf("\t=> your great in English 1st paper : %0.2f",English);
printf("\n\n\tEnter Your English 2nd paper number :");
scanf("%f",&a1);
if(a1>=80 && a1<=100)
English = 5;
else if(a1>=70 && a1<80)
English = 4;
else if(a1>=60 && a1<70)
English = 3.50;
else if(a1>=50 && a1<60)
English = 3;
else if(a1>=40 && a1<50)
English = 2;
else if(a1>=33 && a1<40)
English = 1;
printf("\t=> your great in English 2nd paper : %0.2f",English);
printf("\n\n\tEnter Your Math number :");
scanf("%f",&a2);
if(a2>=80 && a2<=100)
Math = 5;
else if(a2>=70 && a2<80)
Math = 4;
else if(a2>=60 && a2<70)
Math = 3.50;
else if(a2>=50 && a2<60)
Math = 3;
else if(a2>=40 && a2<50)
Math = 2;
else if(a2>=33 && a2<40)
Math = 1;
printf("\t=> your great in Math : %0.2f",Math);
printf("\n\n\tEnter Your Religion number :");
scanf("%f",&a3);
if(a3>=80 && a3<=100)
Religion = 5;
else if(a3>=70 && a3<80)
Religion = 4;
else if(a3>=60 && a3<70)
Religion = 3.50;
else if(a3>=50 && a3<60)
Religion = 3;
else if(a3>=40 && a3<50)
Religion = 2;
else if(a3>=33 && a3<40)
Religion = 1;
printf("\t=> your great in Religion : %0.2f",Religion);
printf("\n\n\tEnter Your Physich number :");
scanf("%f",&a4);
if(a4>=80 && a4<=100)
Physich = 5;
else if(a4>=70 && a4<80)
Physich = 4;
else if(a4>=60 && a4<70)
Physich = 3.50;
else if(a4>=50 && a4<60)
Physich = 3;
else if(a4>=40 && a4<50)
Physich = 2;
else if(a4>=33 && a4<40)
Physich = 1;
printf("\t=> your great in Physich : %0.2f",Physich);
printf("\n\n\tEnter Your Compulsory Sub number :");
scanf("%f",&a);
if(a>=80 && a<=100)
Compulsory = 5;
else if(a>=70 && a<80)
Compulsory = 4;
else if(a>=60 && a<70)
Compulsory = 3.50;
else if(a>=50 && a<60)
Compulsory = 3;
else if(a>=40 && a<50)
Compulsory = 2;
else if(a>=33 && a<40)
Compulsory = 1;
printf("\t=> your great in Compulsory : %0.2f",Compulsory);
printf("\n\n\tEnter Your Chemistry number :");
scanf("%f",&a);
if(a>=80 && a<=100)
Chemistry = 5;
else if(a>=70 && a<80)
Chemistry = 4;
else if(a>=60 && a<70)
Chemistry = 3.50;
else if(a>=50 && a<60)
Chemistry = 3;
else if(a>=40 && a<50)
Chemistry = 2;
else if(a>=33 && a<40)
Chemistry = 1;
printf("\t=> your great in chemistry : %0.2f",Chemistry);
printf("\n\n\tEnter Your Socal Science number :");
scanf("%f",&a);
if(a>=80 && a<=100)
SocalScience = 5;
else if(a>=70 && a<80)
SocalScience = 4;
else if(a>=60 && a<70)
SocalScience = 3.50;
else if(a>=50 && a<60)
SocalScience = 3;
else if(a>=40 && a<50)
SocalScience = 2;
else if(a>=33 && a<40)
SocalScience = 1;
printf("\t=> your great in Socal Science : %0.2f",SocalScience);
printf("\n\n\tEnter Your Optional sub number :");
scanf("%f",&a1);
if(a1>=80 && a1<=100)
Optional = 3;
else if(a1>=70 && a1<80)
Optional = 2;
else if(a1>=60 && a1<70)
Optional = 1.50;
else if(a1>=50 && a1<60)
Optional = 1;
else if(a1>=40 && a1<50)
Optional = 0;
else if(a1>=33 && a1<40)
Optional = 0;
printf("\t=> your great in Optional sub : %0.2f",Optional);
ekual=Bangla+English+Math+Religion+Physich+Compulsory+Chemistry+SocalScience+Optional;
full=ekual/8;
if(full>=5||full>=5.00)
printf("\n\n\t\t => => => YOUR TOTAL GREAT IS : A+ <= <= <= \n\n => => => YOUR TOTAL POINT IS : 5.00");
else if (full>=4 ||full>=4.00)
printf("\n\n\t\t => => => YOUR TOTAL GREAT IS : A <= <= <= \n\n => => => YOUR TOTAL POINT IS : %0.2f",full);
else if (full>=3.50 ||full>=3.50)
printf("\n\n\t\t => => => YOUR TOTAL GREAT IS : A- <= <= <= \n\n => => => YOUR TOTAL POINT IS : %0.2f",full);
else if (full>=3 ||full>=3.00)
printf("\n\n\t\t => => => YOUR TOTAL GREAT IS : B <= <= <= \n\n => => => YOUR TOTAL POINT IS : %0.2f",full);
else if (full>=2 ||full>=2.00)
printf("\n\n\t\t => => => YOUR TOTAL GREAT IS : C <= <= <= \n\n => => => YOUR TOTAL POINT IS : %0.2f",full);
else if (full>=1 ||full>=1.00)
printf("\n\n\t\t => => => YOUR TOTAL GREAT IS : D <= <= <= \n\n => => => YOUR TOTAL POINT IS : %0.2f",full);
printf(" <= <= <=");
printf("\n\n\t\t GREATFUL : JM NADIRA AKTER & RAWSHONRA BEGUME\n");
printf("\n\t*** DEVELOPED BY BAKERGONJ J,S,U MODEL HIGH SCHOOL COMPUTER LAB ***\n\n");
printf("\t\t\t\t S,S,C 2012-2014\n");
printf("\n\t===================================================================\n");
printf("\n\t===================================================================");
return main();
}
int main()
{
float a,a1,a2,a3,a4,Bangla,English,Math,Religion,Physich,Compulsory,Chemistry,SocalScience,Optional;
float c,ekual,full;
printf("\n\n\n\n\n\t\t\t\t>GPA FINDER SOFT<");
printf("\n\n\t\t ***BAKERGONJ J,S,U MODEL HIGH SCHOOL***\n\n");
printf("\t\t =======================================");
printf("\n\n\tEnter Your Bangla 1st paper number :");
scanf("%f",&a);
if(a>=80 && a<=100)
Bangla = 5;
else if(a>=70 && a<80)
Bangla = 4;
else if(a>=60 && a<70)
Bangla = 3.50;
else if(a>=50 && a<60)
Bangla = 3;
else if(a>=40 && a<50)
Bangla = 2;
else if(a>=33 && a<40)
Bangla = 1;
printf("\t=>your great in bangla 1st paper : %0.2f",Bangla);
printf("\n\n\tEnter Your Bangla 2nd paper number :");
scanf("%f",&a);
if(a>=80 && a<=100)
Bangla = 5;
else if(a>=70 && a<80)
Bangla = 4;
else if(a>=60 && a<70)
Bangla = 3.50;
else if(a>=50 && a<60)
Bangla = 3;
else if(a>=40 && a<50)
Bangla = 2;
else if(a>=33 && a<40)
Bangla = 1;
printf("\t=>your great in Bangla 2nd paper : %0.2f",Bangla);
printf("\n\n\tEnter Your English 1st paper number :");
scanf("%f",&a1);
if(a1>=80 && a1<=100)
English = 5;
else if(a1>=70 && a1<80)
English = 4;
else if(a1>=60 && a1<70)
English = 3.50;
else if(a1>=50 && a1<60)
English = 3;
else if(a1>=40 && a1<50)
English = 2;
else if(a1>=33 && a1<40)
English = 1;
printf("\t=> your great in English 1st paper : %0.2f",English);
printf("\n\n\tEnter Your English 2nd paper number :");
scanf("%f",&a1);
if(a1>=80 && a1<=100)
English = 5;
else if(a1>=70 && a1<80)
English = 4;
else if(a1>=60 && a1<70)
English = 3.50;
else if(a1>=50 && a1<60)
English = 3;
else if(a1>=40 && a1<50)
English = 2;
else if(a1>=33 && a1<40)
English = 1;
printf("\t=> your great in English 2nd paper : %0.2f",English);
printf("\n\n\tEnter Your Math number :");
scanf("%f",&a2);
if(a2>=80 && a2<=100)
Math = 5;
else if(a2>=70 && a2<80)
Math = 4;
else if(a2>=60 && a2<70)
Math = 3.50;
else if(a2>=50 && a2<60)
Math = 3;
else if(a2>=40 && a2<50)
Math = 2;
else if(a2>=33 && a2<40)
Math = 1;
printf("\t=> your great in Math : %0.2f",Math);
printf("\n\n\tEnter Your Religion number :");
scanf("%f",&a3);
if(a3>=80 && a3<=100)
Religion = 5;
else if(a3>=70 && a3<80)
Religion = 4;
else if(a3>=60 && a3<70)
Religion = 3.50;
else if(a3>=50 && a3<60)
Religion = 3;
else if(a3>=40 && a3<50)
Religion = 2;
else if(a3>=33 && a3<40)
Religion = 1;
printf("\t=> your great in Religion : %0.2f",Religion);
printf("\n\n\tEnter Your Physich number :");
scanf("%f",&a4);
if(a4>=80 && a4<=100)
Physich = 5;
else if(a4>=70 && a4<80)
Physich = 4;
else if(a4>=60 && a4<70)
Physich = 3.50;
else if(a4>=50 && a4<60)
Physich = 3;
else if(a4>=40 && a4<50)
Physich = 2;
else if(a4>=33 && a4<40)
Physich = 1;
printf("\t=> your great in Physich : %0.2f",Physich);
printf("\n\n\tEnter Your Compulsory Sub number :");
scanf("%f",&a);
if(a>=80 && a<=100)
Compulsory = 5;
else if(a>=70 && a<80)
Compulsory = 4;
else if(a>=60 && a<70)
Compulsory = 3.50;
else if(a>=50 && a<60)
Compulsory = 3;
else if(a>=40 && a<50)
Compulsory = 2;
else if(a>=33 && a<40)
Compulsory = 1;
printf("\t=> your great in Compulsory : %0.2f",Compulsory);
printf("\n\n\tEnter Your Chemistry number :");
scanf("%f",&a);
if(a>=80 && a<=100)
Chemistry = 5;
else if(a>=70 && a<80)
Chemistry = 4;
else if(a>=60 && a<70)
Chemistry = 3.50;
else if(a>=50 && a<60)
Chemistry = 3;
else if(a>=40 && a<50)
Chemistry = 2;
else if(a>=33 && a<40)
Chemistry = 1;
printf("\t=> your great in chemistry : %0.2f",Chemistry);
printf("\n\n\tEnter Your Socal Science number :");
scanf("%f",&a);
if(a>=80 && a<=100)
SocalScience = 5;
else if(a>=70 && a<80)
SocalScience = 4;
else if(a>=60 && a<70)
SocalScience = 3.50;
else if(a>=50 && a<60)
SocalScience = 3;
else if(a>=40 && a<50)
SocalScience = 2;
else if(a>=33 && a<40)
SocalScience = 1;
printf("\t=> your great in Socal Science : %0.2f",SocalScience);
printf("\n\n\tEnter Your Optional sub number :");
scanf("%f",&a1);
if(a1>=80 && a1<=100)
Optional = 3;
else if(a1>=70 && a1<80)
Optional = 2;
else if(a1>=60 && a1<70)
Optional = 1.50;
else if(a1>=50 && a1<60)
Optional = 1;
else if(a1>=40 && a1<50)
Optional = 0;
else if(a1>=33 && a1<40)
Optional = 0;
printf("\t=> your great in Optional sub : %0.2f",Optional);
ekual=Bangla+English+Math+Religion+Physich+Compulsory+Chemistry+SocalScience+Optional;
full=ekual/8;
if(full>=5||full>=5.00)
printf("\n\n\t\t => => => YOUR TOTAL GREAT IS : A+ <= <= <= \n\n => => => YOUR TOTAL POINT IS : 5.00");
else if (full>=4 ||full>=4.00)
printf("\n\n\t\t => => => YOUR TOTAL GREAT IS : A <= <= <= \n\n => => => YOUR TOTAL POINT IS : %0.2f",full);
else if (full>=3.50 ||full>=3.50)
printf("\n\n\t\t => => => YOUR TOTAL GREAT IS : A- <= <= <= \n\n => => => YOUR TOTAL POINT IS : %0.2f",full);
else if (full>=3 ||full>=3.00)
printf("\n\n\t\t => => => YOUR TOTAL GREAT IS : B <= <= <= \n\n => => => YOUR TOTAL POINT IS : %0.2f",full);
else if (full>=2 ||full>=2.00)
printf("\n\n\t\t => => => YOUR TOTAL GREAT IS : C <= <= <= \n\n => => => YOUR TOTAL POINT IS : %0.2f",full);
else if (full>=1 ||full>=1.00)
printf("\n\n\t\t => => => YOUR TOTAL GREAT IS : D <= <= <= \n\n => => => YOUR TOTAL POINT IS : %0.2f",full);
printf(" <= <= <=");
printf("\n\n\t\t GREATFUL : JM NADIRA AKTER & RAWSHONRA BEGUME\n");
printf("\n\t*** DEVELOPED BY BAKERGONJ J,S,U MODEL HIGH SCHOOL COMPUTER LAB ***\n\n");
printf("\t\t\t\t S,S,C 2012-2014\n");
printf("\n\t===================================================================\n");
printf("\n\t===================================================================");
return main();
}
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন