Program in C. You are grading your students’ exams and will create a program to help you with the process. Each exam contains 3 problems. Minimum score in each problem is 0; maximum score is 33.33. Use these steps as your guidance: Define a structure called Student. Give the structure 4 members; one ID (integer) and three scores (decimal numbers). Then, in main, ask for the number of students you will be grading. Then, create an array of structures of type Student. Then, also in main, iterate through each one of them and scan their ID and scores. Lastly, also in main, print out the ID of the student, followed by the final grade (addition of the three scores). Notes: You don’t have to check if the user inputted a score between 0 and 33.33. You may assume users will always input a score within this range. No need of functions (everything can be done in main if you want to).

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter13: Structures
Section: Chapter Questions
Problem 3PP
icon
Related questions
Question

Program in C.

You are grading your students’ exams and will create a program to help you with the process. Each exam contains 3 problems. Minimum score in each problem is 0; maximum score is 33.33. Use these steps as your guidance: Define a structure called Student. Give the structure 4 members; one ID (integer) and three scores (decimal numbers). Then, in main, ask for the number of students you will be grading. Then, create an array of structures of type Student. Then, also in main, iterate through each one of them and scan their ID and scores. Lastly, also in main, print out the ID of the student, followed by the final grade (addition of the three scores).

Notes: You don’t have to check if the user inputted a score between 0 and 33.33. You may assume users will always input a score within this range. No need of functions (everything can be done in main if you want to).

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Array
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