SCHOOL OF CODE BUILDERS
Learn To CODE. Become A DEVELOPER.
Pages
HOME
DATA STRUCTURES
STRINGS
ARRAYS
MATRIX
BINARY TREES
LINKED LIST
STACK
QUEUE
SORTING
SEARCHING
C
PYTHON
PSEUDOCODE
CONTEST PROBLEMS
ALGORITHMS
PATTERNS
PHP
C PUZZLES
C INTERVIEW QUESTIONS
JAVA
C++
HASHING
RECURSION
BASIC C PROGRAMS
TCS-CODEVITA
FACEBOOK
CONTACT US
C program to find average using function
C program to find average using function
Output:
Enter the number of elements:
5
Enter the value of each element:
90 90 90 90 90
Average = 90.000000
Implementation:
#include
int findsum(int *a,int n) { int i; int sum=0; for(i=0;i
PREVIOUS
NEXT
HOME