you have to make this program in the following ways:
- C Program to Find the Sum and Average of Three Numbers (Simple Way)
- C Program to Find the Sum and Average of Three Numbers Using Function
- C Program to Find the Sum and Average of Three Numbers Using Array
C Program to Find the Sum and Average of Three Numbers
To get the sum and average of three numbers, we have to first take three numbers from the user, then add these numbers and find their average.
formula to calculate sum and average of three numbers
Sum = a+b+c;
Average = sum/count
C Program to Find the Sum and Average of Three Numbers (Simple Way)
Algorithm
Program
Output
Program Explanation
C Program to Find the Sum and Average of Three Numbers Using Function
Algorithm
Program
Output
C Program to Find the Sum and Average of Three Numbers Using Array
Algorithm
Program
Output
need an explanation for this answer? contact us directly to get an explanation for this answer