A structure will be defined (Student ID, Student Name, Student Surname, Midterm, Final, average). The user will be asked to enter the number of Students in the Class (1). Number, name and surname of the students in the class will be entered (2). After entering the whole class number, name and surname, the student's number, name and surname will be shown and the midterm grades will be requested (3). Then, you will be asked to enter the final grades as the midterm is entered (4). 40% midterm, 60% final calculation is made and recorded in the average field (5). The number, name, surname and averages of the students in the class will be shown on the screen (6). The sequence of actions will be performed in the order described. Write the C program code that performs the above operations. Number of students in the class is 10 Any random name, surname, student number, midterm grades and final grades can be used

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 10PE
icon
Related questions
icon
Concept explainers
Question
100%

A structure will be defined (Student ID, Student Name, Student Surname, Midterm, Final, average).
The user will be asked to enter the number of Students in the Class (1).
Number, name and surname of the students in the class will be entered (2). After entering the whole class number, name and surname, the student's number, name and surname will be shown and the midterm grades will be requested (3).
Then, you will be asked to enter the final grades as the midterm is entered (4).
40% midterm, 60% final calculation is made and recorded in the average field (5). The number, name, surname and averages of the students in the class will be shown on the screen (6). The sequence of actions will be performed in the order described.
Write the C program code that performs the above operations.

Number of students in the class is 10

Any random name, surname, student number, midterm grades and final grades can be used 

Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Control Structure
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
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning