Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

COSC 10503 Programming in C Homework #2 You will be graded on (1) correctness, (

ID: 440858 • Letter: C

Question

COSC 10503 Programming in C Homework #2 You will be graded on (1) correctness, (2) program design, and (3) documentation, style, and format. Item 2 means, in part, that you made the program as simple as possible and used appropriate C constructs. You may only use concepts from the text chapters 1-5. Consider a college course in which we have the following items counting towards the final grade: 3 homeworks (worth 15% each), 2 mid-terms (worth 15% each), and a final exam (worth 25%). Write a program that lets the user enter all but one of these grades and calculate the score needed on the remaining item. Your program should also let the user enter the final grade, using it to calculate the grade needed on the final exam to get the desired course grade. Basic Program Structure(use it!) note: put our standard documentation at the top of your program. Use the program

Explanation / Answer

This program is not as difficult as you think. Are you familiar with functions? The easiest way to approach a problem is the break it down into functions or modules. So what you want to do: print out menu get a valid choice ask user to enter data according to choice calculate choice note that with weight averages, you find the weighted score by multiplying by its weight(in decimal) e.g final exam weight is 25%, but you made 50%, then weight average is 50*.25=12.5