Program to find the average of n (n < 10) numbers using arrays
C Programming Language / Array in C Language
7050Program:
/* Program to find the average of n (n < 10) numbers using arrays Author: atnyla Developer */ #include int main() { int marks[10], i, n, sum = 0, average; printf("Enter n: "); scanf("%d", &n); for(i=0; i
Output:
Enter n: 5 Enter number1: 4 Enter number2: 6 Enter number3: 2 Enter number4: 3 Enter number5: 5 Average = 4 Press any key to continue . . .
Explanation:
Program to find the average of n (n < 10) numbers using arrays
This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.
# C Tutorials
# JAVA Tutorials
# HTML Tutorials
# Computer Fundamental
# Data Structure
# DBMS Tutorials
SQL
# C# Language
# R Language
# PHP
# Python
# Vue JS