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

1. ## 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-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 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. 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.

Popular pages Recent additions