Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this assignment you will write a program in C that calculates a students result from a course. Your code should read in three percentages

For this assignment you will write a program in C that calculates a students result from a course.
Your code should read in three percentages representing their marks for assignment, a lab exam and a
written exam.
It should then calculate their overall result. The exam counts for 50% of the marks, the lab exam 25%
and the assignment 25%.
Finally it should display their overall mark as a percentage and the appropriate grade from the following
table:
Mark Grade
70+ A
60-69 B
50-59 C
40-49 D
<40 E
You should submit your code and a sample of the input and output in a single pdf document.

Step by Step Solution

3.44 Rating (144 Votes )

There are 3 Steps involved in it

Step: 1

The task is to write a C program that calculates a students final grade in a course given their mark... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Statistics For Managers Using Microsoft Excel

Authors: David M. Levine, David F. Stephan, Kathryn A. Szabat

7th Edition

978-0133061819, 133061817, 978-0133130805

More Books

Students also viewed these Programming questions

Question

1. Letters and diaries in history.

Answered: 1 week ago