Question: on Dev C please A teacher gave his class an exam consisting of 8-question multiple- choice questions, in which each question has 4 answer choices
A teacher gave his class an exam consisting of 8-question multiple- choice questions, in which each question has 4 answer choices (a, b, c, d) and mistakes do not take the right. Define a structure that includes the (string) and the exam grade (real number) to be received. Then write a function with the answer_card_entry that allows a student's number and answers to be entered on the keyboard and returns the entered data to the main () function for a variable of this structure type. This function will not take any parameters from main 0). If main () is in the main function, place the answer key prepared by the teacher in a character string (it will not be entered from the keyboard) and after calculating the grade that the student got over 100, assign it to the element with a grade of the structure type variable. Finally, print the student's number and exam score on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
