Results 1 to 9 of 9

Thread: Yar mari Help Karo Plz

  1. #1
    fsl234 is offline Junior Member
    Last Online
    9th July 2012 @ 07:53 AM
    Join Date
    20 Apr 2009
    Posts
    5
    Threads
    2
    Credits
    940
    Thanked
    0

    Default Yar mari Help Karo Plz

    .Plz Bahioun Meri Help karo.Mujay college mai project mila hay C language mai.Mark sheet banana hay mujay..Plz mujay koi Grade ka formula batado k grade kasay nikaloun.Aur han agar kisi aik b paper mai 33 say kam Number ahay to wo FAIL Display karay....Plz Help.

  2. #2
    Zahid Ali47's Avatar
    Zahid Ali47 is offline Senior Member+
    Last Online
    20th August 2011 @ 10:59 PM
    Join Date
    15 Feb 2009
    Location
    Khanewal
    Age
    32
    Posts
    787
    Threads
    28
    Credits
    0
    Thanked
    2

    Default

    Ap ny kis cheez ka Exam dia hy kisi main 40% or kisi main 30% hota hy

  3. #3
    sahil_cu is offline Junior Member
    Last Online
    25th April 2011 @ 11:25 PM
    Join Date
    25 May 2009
    Age
    38
    Posts
    15
    Threads
    1
    Credits
    960
    Thanked: 1

    Default

    its simple dear

    main() me ap jab subject k liay variables declare karo ge... phir unko values do ge i mean initialize karne k bad grade ka formula apply karo.....



    like....



    if(marks>=33)
    {
    if(marks>80)
    {
    cout<<"Grade A";
    }
    else if(marks>=70 && marks<80)
    {
    cout<<"Grade B";
    }
    else if(marks>=60 && marks<70)
    {
    cout<<"Grade C";
    }
    else if(marks>=50 && marks<60)
    {
    cout<<"Grade D";
    }
    else if(marks>=33 && marks<50)
    {
    cout<<"Grade E";
    }
    }




    try this



    well i think k grade to har paper ka nahi hota grade to total marks or percentage ki base pe find kia jata hai..... so if u have to find it in this way to ap har paper k marks enter karne k bad aik check lagao jis me ap tamam papers k marks malum kar sako k aya all papers pass hain ya nahi...........


    ap apna question thora sa explain karen k apko kesa program bnana ha to may be i can help u.....

  4. #4
    ranjha1's Avatar
    ranjha1 is offline Senior Member+
    Last Online
    23rd April 2013 @ 10:09 AM
    Join Date
    26 Jun 2009
    Location
    Karachi
    Age
    34
    Posts
    299
    Threads
    22
    Credits
    0
    Thanked
    6

    Default

    aur neechy ik aur else laga do fail ki condition k liye

  5. #5
    loinheart's Avatar
    loinheart is offline Senior Member+
    Last Online
    17th July 2010 @ 12:53 PM
    Join Date
    10 Jul 2009
    Age
    34
    Posts
    58
    Threads
    6
    Credits
    945
    Thanked: 1

    Default

    sallam::
    yaar bhai koi scinetific calculator ki coding send kar sakta hai kai C++ pe plz bhai koi kai send kar sakta hai kai?

  6. #6
    aam_gul's Avatar
    aam_gul is offline Senior Member+
    Last Online
    19th February 2014 @ 08:43 PM
    Join Date
    10 May 2009
    Location
    islamabad
    Age
    34
    Posts
    198
    Threads
    24
    Credits
    945
    Thanked
    9

    Default your solution

    Quote fsl234 said: View Post
    .Plz Bahioun Meri Help karo.Mujay college mai project mila hay C language mai.Mark sheet banana hay mujay..Plz mujay koi Grade ka formula batado k grade kasay nikaloun.Aur han agar kisi aik b paper mai 33 say kam Number ahay to wo FAIL Display karay....Plz Help.

    printf("\nplz enter the aamir percentage");
    scanf("%d",&percentage);

    {if (percentage<=100&&percentage>=90)
    printf("GRADE IS ...A+...");
    }

    {if (percentage<=89&&percentage>=80)
    printf("GRADE IS ...A...");
    }

    {if (percentage<=79&&percentage>=70)
    printf("GRADE IS ....B....");
    }
    {if(percentage<=69&&percentage>=50)
    printf("GRADE IS ....C....");
    }
    {if(percentage<=49&&percentage>=40)
    printf("GRADE IS ....D....");
    }

    {if (percentage<=40&&percentage>=0)
    printf("FAIL");
    }



  7. #7
    FAYSAL70 is offline Junior Member
    Last Online
    17th April 2011 @ 01:42 PM
    Join Date
    24 May 2010
    Location
    KARACHI
    Age
    32
    Posts
    29
    Threads
    0
    Credits
    0
    Thanked
    0

    Smile Mark sheet complete program

    # include<conio.h>
    # include<stdio.h>

    void main(void)
    {
    int u,e,m,p,i,t;
    float per;
    printf("\n enter urdu marks");
    scanf("%d" ,& u);
    printf("\n enter english marks");
    scanf("%d" , & e);
    printf("\n enter math marks");
    scanf("%d" , & m);
    printf("\n enter physics marks");
    scanf("%d" , & p);
    printf("\n enter islamiat marks");
    scanf("%d" , & i);
    t=u+e+m+p+i;
    per=t/5; /*500/100 = 5*/
    if(u<33 || e<33 || m<33 || p<33 || i<33)
    printf("\n candiate fail");
    else
    printf("\n candiate passed");
    printf("\n percentage = %f",per);
    printf("\n total marks = %d",t);
    getch();
    }
    Attached Images Attached Images   

  8. #8
    ishwa's Avatar
    ishwa is offline Senior Member+
    Last Online
    15th June 2010 @ 06:17 PM
    Join Date
    04 Jun 2010
    Location
    dil walon ki nagri mein
    Posts
    242
    Threads
    4
    Credits
    0
    Thanked
    3

    Default

    me ko C nhi aati bs C++ aati hy or na me ko HTML, VBScript b aati hy

  9. #9
    Ganxtr's Avatar
    Ganxtr is offline Advance Member
    Last Online
    5th July 2019 @ 09:15 AM
    Join Date
    15 Nov 2009
    Location
    CRIME CITY
    Posts
    1,740
    Threads
    18
    Credits
    83
    Thanked
    100

    Default


Similar Threads

  1. dosr mari help karo
    By thanghi in forum Ask an Expert
    Replies: 4
    Last Post: 11th December 2013, 10:30 PM
  2. kya mari help karo gy plz
    By star_ji in forum Ask an Expert
    Replies: 3
    Last Post: 1st July 2010, 10:23 PM
  3. Kasay Ho Kia Mari Help Karo Gay
    By shah2010 in forum Ask an Expert
    Replies: 2
    Last Post: 15th August 2009, 10:12 PM
  4. plz mari help karo
    By suffi in forum Ask an Expert
    Replies: 8
    Last Post: 20th June 2009, 10:56 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •