Question: . Write a C program to do the following. Prompt the user to enter an integer N representing the number of students in a class.

. Write a C program to do the following. Prompt the user to enter an integer N representing the number of students in a class. [5 points] Write a malloc function to reserve space for an array of N floating values representing the mark of N students. [10 points] Prompt the user to enter the mark of N students. [5 points] Calculate the average mark of all students in the class and display the result. [10 points) Question: Write a function ProductEvenNegative" that takes an array C of 15 float numbers as an argument and returns the product of the even and negative numbers in the array. [10 points]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
