Thread: I Have Urgent Assignment to do, but i don't even understand this one. Please help me

  1. #1
    Registered User
    Join Date
    Apr 2020
    Posts
    2

    Exclamation I Have Urgent Assignment to do, but i don't even understand this one. Please help me

    My question is:
    (In C Language)

    Write a C program that asks the user to enter exam results (0-100) until a sentinel value is entered.After each exam result, the corresponding letter grade is shown (<50 F, 50-69 D, 70-79 C, 80-89 B, 90-100 A). At the end, the average of the exam result and the grading point average (A = 4.0, B= 3.0, C = 2.0, D = 1.0, F = 0) is shown. Assume that credit of every course is 4.

    Use do...while loop.Please check the sample run of question 2 above.

    The question 2 was like this:
    2. Write a C program that asks the user to enter exam results (0-100) until a sentinel value is entered.After each exam result, the corresponding letter grade is shown (<50 F, 50-69 D, 70-79 C, 80-89B, 90-100 A).
    At the end, the average of the exam result and the grading point average (A = 4.0, B =3.0, C = 2.0, D = 1.0, F = 0) is shown.
    Assume that credit of every course is 4. Use while loop.
    How to calculate gpa?Assume that the following grades are entered: A,C,B,DGPA= (4.0*4+2.0*4+3.0*4+1.0*4)/16 (SUM OF CREDITS)=2.5Sample Run:Enter grade: BEnter grade: CEnter grade: AEnter grade: AEnter grade: DEnter grade: -1Youe gpa is 2.8

  2. #2
    Registered User
    Join Date
    Aug 2019
    Location
    inside a singularity
    Posts
    300
    Sorry to let you know that but you're at the wrong place to have your assignments completed for you. People would love to help, only if you'd show your own attempt/code. You don't put in effort, then we don't put in effort: this thread is a waste of space. If you've gotten such an assignment from school or wherever, you must've learnt enough to be able to solve it, or maybe your teacher's a retard. The latter is hard to believe, hence, no help for you And knowing from experience about the people who post this kind of stuff, there's definitely going to be many sites on which you cross-posted. Good luck finding help elsewhere, or maybe make a little effort and come up with something basic that can perform required I/O and we'll be more than glad to help.
    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook, The Wizardry Compiled

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. urgent help...Assignment!! please hlp
    By djmaddy in forum C Programming
    Replies: 3
    Last Post: 11-16-2011, 01:10 PM
  2. assignment help. [urgent]
    By Ciaran789 in forum C Programming
    Replies: 9
    Last Post: 11-29-2009, 09:46 AM
  3. Urgent! Pls help me for my assignment!!
    By seanlee210 in forum C Programming
    Replies: 5
    Last Post: 03-29-2009, 08:30 PM
  4. urgent assignment(due tonight) help
    By avivak in forum C Programming
    Replies: 5
    Last Post: 10-29-2007, 04:50 PM

Tags for this Thread