Write a c program that calculates a degree classification such that  number of modules used for the degree classification is 10 in total, each module(x) is read one by one, calculate the average mark (∑x/10 ) for the set modules and print on the screen, if the average mark is 70% or greater, display a message on the screen "congrats you got a first class degree", if the average mark is 50% or greater but less than 70% adisplay a message , if the average is 40%or greater  but less than 50% display a message, if the average mark is below 40% display a message on the screen

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section4.3: Nested If Statements
Problem 7E
icon
Related questions
icon
Concept explainers
Question

 Write a c program that calculates a degree classification such that  number of modules used for the degree classification is 10 in total, each module(x) is read one by one, calculate the average mark (∑x/10 ) for the set modules and print on the screen, if the average mark is 70% or greater, display a message on the screen "congrats you got a first class degree", if the average mark is 50% or greater but less than 70% adisplay a message , if the average is 40%or greater  but less than 50% display a message, if the average mark is below 40% display a message on the screen

Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Operators
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr