Question: tof Write a C program to do the following. Prompt the user to enter an integer K representing the number of students in a class.
tof Write a C program to do the following. Prompt the user to enter an integer K representing the number of students in a class. (5 points] Write a calloc function to reserve space for an array of K floating values representing the mark of students. [10 points) Prompt the user to enter the mark of K students. (5 points) Calculate the sum of all marks of all students in the class and display the result. [10 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
