*****Last Ten Active Topic***


Convenient employment Products - A Closer Look
Effective Systems Of employment Around The USA
Exploring Rudimentary Criteria For employment
Deciding upon Speedy Plans In employment
Root Details Of employment Around The UK
Result of lab and project
AMIE WINTER 2017 RESULT HAS BEEN DECLARED
Query related to re registration of section b
study notes
Probable date of publishing AMIE winter 2017 result

 

 

 

 

 

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

Postby RAVIGARU » Sun Mar 10, 2013 1:09 pm

AMIE % & CGPA CALCULATOR C PROGRAMME
HI FRIENDS ENJOY AND ASK ME ANY DOUBTS. IAM ATTACHING OUTPUT SCREEN SHOT FOR
ONE "B" GRADE, TWO "C" GRADES AND ONE "D" GRADE
Image

DOWNLOAD HERE
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
Adviser
Adviser
 
Posts: 313
Joined: Sat May 05, 2012 9:47 pm

Re: AMIE % & CGPA CALCULATOR C PROGRAMME

Postby subham » Sun Mar 10, 2013 11:13 pm

it is realy nice
ImagePlease like us in facebook to help you more and get all update...@http://www.facebook.com/AMIE.NBCAFE
subham
Site Admin
Site Admin
 
Posts: 955
Joined: Sun Apr 29, 2012 11:23 pm


Return to AMIE NBCAFE

Who is online

Registered users: Bing [Bot]