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


EXAM FOR SECTION A
project work 2018
AD302 material science summer 2018
Free download question paper of material science winter 2016
Notes for Pulse & Digital circuit
Free Download AMIE Section A study notes on AD 302
Result of lab and project
AMIE WINTER 2017 RESULT HAS BEEN DECLARED
Query related to re registration of section b
study notes

 

 

 

 

 

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

AMIE Grade and Percentage calculator_C programme

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

AMIE Grade and Percentage calculator_C programme

Postby RAVIGARU » Sun May 06, 2012 8:50 am

/*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("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 TAKE INPUT FROM US 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);
getch();
}

Screen Shot
GPA_C.jpg


RULES FOR GPA CALCULATIONS

GPA CALCULATIONS.jpg
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
Last edited by RAVIGARU on Wed Jun 06, 2012 12:16 pm, edited 1 time in total.
RAVIGARU
Adviser
Adviser
 
Posts: 313
Joined: Sat May 05, 2012 9:47 pm

Re: AMIE Grade and Percentage calculator_C programme

Postby RAVIGARU » Sun May 06, 2012 8:53 am

I have learned C Language from the following video tutorials

http://thenewboston.org/list.php?cat=14
RAVIGARU
Adviser
Adviser
 
Posts: 313
Joined: Sat May 05, 2012 9:47 pm

Re: AMIE Grade and Percentage calculator_C programme

Postby abhijit » Sun May 06, 2012 12:02 pm

Hey all members please go through the link to your address bar which RAVIGARU had given. it is really helpful to all of you.

thank you RAVIGARU for such a valuable link.


:) :) :) :)
"Don't expect things to happen
Struggle & make them happen"


Thanks & Regards
Abhijit
abhijit
Royal Guardian
Royal Guardian
 
Posts: 310
Joined: Sun Apr 29, 2012 8:55 pm
Location: kolkata

Re: AMIE Grade and Percentage calculator_C programme

Postby RAVIGARU » Sun May 06, 2012 2:25 pm

http://thenewboston.org
its a wonderful site for video tutorials of different subject related to computers
You Can get C, C++, Java (useful for Section B CSE) and some others
Really very nice Tutorials
RAVIGARU
Adviser
Adviser
 
Posts: 313
Joined: Sat May 05, 2012 9:47 pm


Return to AMIE NBCAFE

Who is online

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