C++ Program to Find Sum and Average of N Numbers Using For Loop - KhurafatiTech How to Tips-Tricks

Recent

Friday, April 6, 2018

C++ Program to Find Sum and Average of N Numbers Using For Loop

C++ Program to Find Sum and Average of N Numbers Using For Loopdownload C++ source code file

This program gives the sum of numbers given by the user, and then average of the numbers.
we need to declare an array for storing numbers , in ordered sequence, so that they can be used anytime in the program.
'a[n]'  is called the array 'a' of n elements , this is one dimensional array.

'a[m][n]'  is two dimensional array, it can store  'm*n* elements.

No comments: