Question: Using recursive function write a C program that calculates the average of some students grades, the answer should be float with 3 decimals Example: INPUT:
Using recursive function write a C program that calculates the average of some students grades, the answer should be float with 3 decimals
Example:
INPUT:
10
20
30
-1
OUTPUT:
20.000
It shouldnt take -1 since -1 isnt a valid grade
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
