Program 91 #P91 - C Program to Calculate Sum & Average of an Array #C213

Subscribers:
10,700
Published on ● Video Link: https://www.youtube.com/watch?v=4D40CInm8Ak



Duration: 3:36
127 views
11


C Program to Calculate Sum & Average of an Array
This is C Program to calculate the sum & average of an array.
Problem Description
This program will declare an array and then add all the array elements and finds the average of the array.
Problem Solution
1. Create an array of fixed size (maximum capacity), lets say 10.
2. Take n, a variable which stores the number of elements of the array, less than maximum capacity of array.
3. Iterate via for loop to take array elements as input, and print them.
4. Iterate via for loop to access each element of array to get sum (sum of positive integers and negative integers are separate) and overall sum to calculate average.
5. Sum of positive and negative numbers are shown.
6. Average is calculated by dividing overall sum to the number of elements in array

|| Like-Comment-Subscribe-Share ||
||Support and Subscribe ||
#rubalsolutions #coding #developer #programming #programmer #technology #clanguage #computerscience #c #informaticpractices #sub #subscribe #youtube #newyoutuber #youtubechannel

To Install Turbo C++ 4.5 Click on Below Link and Download rar file and extract and then install..
address updated by app.box.com on 8 april
https://app.box.com/s/soz2137zo0rv0sb08pf4upzgj01umfjr

Do Like,Comment,Share and Subscribe if u are learning little bit.
Please give me suggestions in form of comment box .

Link To My Blog - https://www.blogger.com/blogger.g?blo...
Like me on Facebook @ https://www.facebook.com/rubalsolutions/
Follow me on Twitter @ https://twitter.com/ruby0071
Follow me on Instagram @https://www.instagram.com/er.rubal/
Email me at :- ruby0071@gmail.com

Recording Microphone Mic & Tripod Stand for Laptop
https://amzn.to/2WCV5a8
Mini Professional Handheld Microphone Compatible with Xiaomi, Lenovo, Apple, Samsung, Sony, Oppo, Gionee, Vivo Smartphones (One Year Warranty)
https://amzn.to/2HRp1fj




Other Videos By Rubal Solutions


2019-04-13माँ महागौरी की कहानी || नवरात्र के आठवें दिन माँ महागौरी की पूजा की जाती है || शुभकामनाएं ||
2019-04-12माँ कालरात्रि की कहानी || नवरात्र के सप्तम दिन माँ कालरात्रि की पूजा की जाती है || शुभकामनाएं ||
2019-04-11Program 96 #P96 - C Program to Add Two Matrix Using Multi dimensional Arrays #C218
2019-04-11Happy Happy 5th Month Anniversary || 5 Months of Journey || Thank You || Completion of 5 Months ||
2019-04-11Program 95 #P95 - C Program to Find Transpose of a Matrix #C217
2019-04-11माँ कात्यायनी की कहानी || नवरात्र के छठे दिन माँ कात्यायनी की पूजा की जाती है || शुभकामनाएं ||
2019-04-09Program 94 #P94 - C program to find minimum element in an array #C216
2019-04-09Program 93 #P93 - C program to find maximum element in an array #C215
2019-04-09माँ स्कंदमाता की कहानी || नवरात्र के पाँचवाँ दिन माँ स्कंदमाता की पूजा की जाती है || शुभकामनाएं ||
2019-04-08Program 92 #P92 - C Program to Put Even & Odd Elements of an Array in 2 Separate Arrays #C214
2019-04-08Program 91 #P91 - C Program to Calculate Sum & Average of an Array #C213
2019-04-08माँ कुष्मांडा की कहानी || नवरात्र के चौथे दिन माँ कुष्मांडा की पूजा की जाती है || शुभकामनाएं ||
2019-04-07माँ चंद्रघंटा की कहानी || नवरात्र के तीसरा दिन माँ चंद्रघंटा की पूजा की जाती है || शुभकामनाएं ||
2019-04-07Program 90 #P90 - program demonstrates how to store the elements entered by user in a 2d array #C212
2019-04-07Program 89 #P89 - C programming Accessing Two Dimensional Array Elements#C211
2019-04-06माँ ब्रह्मचारिणी की कहानी|नवरात्र के दूसरेदिन माँ ब्रह्मचारिणी की पूजा की जाती है| शुभकामनाएं |
2019-04-06Program 88 #P88 - C programming to find the sum of two matrices of order 2*2 #C210
2019-04-06Program 87 #P87 - C programming for Two Dimensional Array to store and print values #C209
2019-04-05मां शैलपुत्री की कहानी|नवरात्र के पहले दिन माँ शैलपुत्री की पूजा की जाती है|नवरात्रि की शुभकामनाएं |
2019-04-04Class 6th : Chapter 2- More On Edubuntu || CBSE || computer science || Course Book ||
2019-04-04Class 6th : Chapter 1-Computer Languages || CBSE || computer science || Course Book ||



Tags:
computer education
computer education in Hindi
basic computer training
rubalsolutions
beginner YouTube
coding'
developer
newyoutuber
subscribe
sub
computer-science
cprogramming
youtuberocks
subscribeandsupport
c language
computer programming
sum and average of an array
computer science
c programming
array
seperatevalues
array in c
c array
declaring array
array data structure
array in c programming