Registration Running on Online Classes for AMIE Summer 2018 Click Here to Register

## AMIE % & CGPA CALCULATOR C PROGRAMME

Welcome to AMIE NBCAFE STUDENT FORUM. It is the platform of all AMIE Students.

### AMIE % & CGPA CALCULATOR C PROGRAMME

AMIE % & CGPA CALCULATOR C PROGRAMME
HI FRIENDS ENJOY AND ASK ME ANY DOUBTS. IAM ATTACHING OUTPUT SCREEN SHOT FOR

amie gpa_cgpa_percentage_pass_fail calculator.rar

Code: Select all
`*AMIE PERCENTAGE & GRADE POINT AVERAGE CALCULATOR*/#include <stdio.h>void main (){     int h, a, b, c, d, noofsubjects;     float totalgrade, totalgpa, percentage, gpa;     int hp, ap, bp, cp, dp;          hp=100;     ap=74;     bp=65;     cp=59;     dp=49;     int hg, ag, bg, cg, dg;     hg=10;     ag=9;     bg=8;     cg=6;     dg=5;          /*FOLLOWING CODE WILL TAKE INPUT FROM USER*/          printf("\nPLEASE SEND YOUR COMMENTS TO: yourname@xxxx.com\n\n");     printf("YOU HAVE ENTER 0 (ZERO) IF NIL IN THAT GRADE\n\n");     printf("-------------------------------------------------\n\n");     printf("NUMBER OF SUBJECTS SCORED GRADE H : ");     scanf("%d", &h);     printf("NUMBER OF SUBJECTS SCORED GRADE A : ");     scanf("%d", &a);     printf("NUMBER OF SUBJECTS SCORED GRADE B : ");     scanf("%d", &b);     printf("NUMBER OF SUBJECTS SCORED GRADE C : ");     scanf("%d", &c);     printf("NUMBER OF SUBJECTS SCORED GRADE D : ");     scanf("%d", &d);          noofsubjects = h+a+b+c+d;          /*TOTAL GRADE IS = (h*100 + A*74 + B*65 + c*59 + d*49) */          totalgrade=((h*hp)+(a*ap)+(b*bp)+(c*cp)+(d*dp));     totalgpa=((h*hg)+(a*ag)+(b*bg)+(c*cg)+(d*dg));     percentage=totalgrade/noofsubjects;     gpa=totalgpa/noofsubjects;            /*FOLLOWING CODE WILL OUTPUT THE DETAILS*/         printf("\n NUMBER OF SUBJECTS COUNTED: %d\n", noofsubjects);     printf("\n TOTAL MARKS IN PERCENTAGE IS : %.2f\n", percentage);     printf("\n GRADE POINT AVERAGE IS : %.2f\n", gpa);     printf("-------------------------------------------------\n\n");     if(gpa>=6)     printf("\n YOU HAVE SUCCESSFULLY PASSED\n\n IF YOU HAVE GOT GRADE D IN 1 OR MORE SUBJECTS \n\n THAT SHOULD BE IN LAST ATTEMPT");     else     printf("\n SORRY YOU HAVE FAILED, YOUR GPA IS BELOW 6.0 \n\n FOR COMPLETE PASS GPA SHOULD BE MORE THAN 6.0");     printf("\n-------------------------------------------------\n\n");     printf("\nPLEASE SEND YOUR COMMENTS TO: rachuri76@gmail.com\n\n");     getch();}`
You do not have the required permissions to view the files attached to this post.Please Register yourself to Download for register click on REGISTER
RAVIGARU

Posts: 313
Joined: Sat May 05, 2012 9:47 pm

### Re: AMIE % & CGPA CALCULATOR C PROGRAMME

it is realy nice
subham

Posts: 955
Joined: Sun Apr 29, 2012 11:23 pm

### Who is online

Registered users: Bing [Bot], Google [Bot]