Welcome to AMIE Study - AMIE India Students Forum

AMIE Study - AMIE India Students Forum

collapse collapse

* Shoutbox

Refresh History
  • [email protected]: Sir how to paid online fee
    September 09, 2019, 08:21:27 PM
  • imgk1985: Middle of Sep 2019.
    September 03, 2019, 12:12:49 PM
  • ad13feb: Good evening.. Date of section B result ?
    August 31, 2019, 03:31:54 PM
  • vae: hello
    August 26, 2019, 02:33:54 PM
  • imgk1985: Very Good Afternoon folks.
    August 23, 2019, 11:58:19 AM
  • vae: good morning
    August 19, 2019, 10:56:58 AM
  • ramajit: Section B results expecting by Sep 1st week
    August 14, 2019, 09:26:41 AM
  • imgk1985: When Can we expect Section B - Summer 2019 results?
    August 13, 2019, 02:38:02 PM
  • ramajit: Results of Section A for Summer 2019 exam have been declared. Click to View ...
    August 09, 2019, 09:50:12 AM
  • vae: Good Morning and wishing everyone a good month..........August
    August 01, 2019, 10:06:30 AM
  • vae: Good Morning
    July 31, 2019, 09:21:57 AM
  • vae: Hello every1
    July 22, 2019, 09:29:29 AM
  • vae: Encumbrance Certificate
    July 08, 2019, 02:47:40 PM
  • vae: Happy July 2019
    July 01, 2019, 12:34:44 PM
  • vae: Hello
    July 01, 2019, 12:34:32 PM
  • vae: Good Afternoon every1
    June 27, 2019, 02:23:34 PM
  • vae: hi
    June 23, 2019, 03:57:08 PM
  • Sujith Raj (AMIE - Civil): Download FUNDAMENTALS OF DESIGN AND MANUFACTURING -SUMMER 2015- Question Paper.---> CLICK---> [link] Raj (AMIE,CEng- Civil)
    June 18, 2019, 10:38:44 PM
  • Sujith Raj (AMIE - Civil): AMIE Section B Syllabus - Civil Engineering-----Link--->[link] ---->>>--->>> [link]  Thanks Sujith Raj (AMIE, Chartered Engineer - Civil)
    June 14, 2019, 12:13:57 PM
  • vae: Good Morning
    June 13, 2019, 09:30:47 AM

* Search


* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Board Stats

  • stats Total Members: 48956
  • stats Total Posts: 27557
  • stats Total Topics: 6679
  • stats Total Categories: 6
  • stats Total Boards: 31
  • stats Most Online: 626

Author Topic: AMIE GPA_CGPA_PERCENTAGE_PASS OR FAIL CALCULATOR C PROGRAMME  (Read 2660 times)

Description:
October 20, 2012, 04:58:41 PM
  • Super Member
  • Senior Member
  • **
  • Posts: 405
    • View Profile
    • http://amiestudytips.blogspot.in
Advertisement
AMIE GPA_CGPA_PERCENTAGE_PASS OR FAIL CALCULATOR C PROGRAMME

HI FRIENDS PLEASE FIND AMIE GPA_CGPA_PERCENTAGE_PASS OR FAIL CALCULATOR C PROGRAMME
I HAVE ATTACHED 2 OUTPUT SCREENS FOR TWOCONDITIONS

1. PASS SCREEN (IF U GOT 4C GRADES)
[attachment=2:2a1l54dn]Pass.jpg[/attachment:2a1l54dn]

2. PASS WITH D GRADE SCREEN (IF U GOT 1B, 2C, AND 1D)
[attachment=1:2a1l54dn]Pass D Grade.jpg[/attachment:2a1l54dn]

PROGRAMME CODE IS GIVEN BELOW:
Code: [Select]
/*AMIE PASS/FAIL_CGPA CALCULATOR C PROGRAMME*/

#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: [email protected].comnn");
printf("YOU HAVE TO ENTER 0 (ZERO) IF NIL IN THAT GRADEnn");
printf("-------------------------------------------------nn");
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 SUBJ ECTS COUNTED: %dn", noofsubjects);
printf("n TOTAL MARKS IN PERCENTAGE IS : %.2fn", percentage);
printf("n GRADE POINT AVERAGE IS : %.2fn", gpa);
printf("-------------------------------------------------nn");
if(gpa>=6)
printf("n YOU HAVE SUCCESSFULLY PASSEDnn ");
else
printf("n SORRY YOU HAVE FAILED, YOUR GPA IS BELOW 6.0 nn FOR COMPLETE PASS GPA SHOULD BE MORE THAN 6.0");
if (d>=1)
printf("n YOU HAVE GOT GRADE D IN 1 OR MORE SUBJECTS nn THAT SHOULD BE IN LAST ATTEMPT nn SECTION A NON DIPLOMA 2D GRADES ALLOWED nn SECTION A DIPLOMA 1D GRADES ALLOWED nn SECTION B 2D GRADES ALLOWED nn");
printf("n-------------------------------------------------n");

printf("nPLEASE SEND YOUR COMMENTS TO: [email protected].comnn");
getch();
}

THANKS AND REGARDS
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »


October 23, 2012, 01:26:50 PM
Reply #1
  • Super Member
  • Senior Member
  • **
  • Posts: 405
    • View Profile
    • http://amiestudytips.blogspot.in
Hi Praveen, charulatha
hi friends i need some comments to improve further

regards
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »
December 15, 2012, 11:08:43 AM
Reply #2
  • Super Member
  • Senior Member
  • **
  • Posts: 405
    • View Profile
    • http://amiestudytips.blogspot.in
HI FRIENDS
YOU CAN DOWNLAND AND KEEP IT IN YOUR PC
AND USE WHENEVER U WANT THIS

REGARDS
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »
January 05, 2013, 09:46:32 AM
Reply #3
  • Super Member
  • Senior Member
  • **
  • Posts: 326
    • View Profile
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »
Code: [Select]
[b][u][size=85]spganeshk[/size[/u][/b]]
February 20, 2013, 10:17:43 PM
Reply #4
  • Super Member
  • Senior Member
  • **
  • Posts: 405
    • View Profile
    • http://amiestudytips.blogspot.in
Thanks u can check the calculator in excel also
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »
 

Related Topics

  Subject / Started by Replies Last post
1 Replies
563 Views
Last post January 07, 2010, 04:40:40 PM
by murthyusr
12 Replies
2785 Views
Last post December 18, 2011, 12:54:16 PM
by sharma.ankit1010
75 Replies
38373 Views
Last post September 08, 2015, 09:47:54 AM
by ranjan82
5 Replies
5487 Views
Last post April 04, 2014, 02:01:23 PM
by vishu1r
8 Replies
5160 Views
Last post September 01, 2014, 05:00:36 PM
by AMIEKEKA
4 Replies
1745 Views
Last post December 04, 2012, 02:51:45 PM
by subhash7808
1 Replies
2781 Views
Last post April 08, 2013, 04:42:26 PM
by nlnarayana29

* Search

* Subscribe to Forum

Enter your email address:

Advertisement

* Recent Posts