http://technotip.com/7580/c-program-t...
Write a C program to calculate Sum and Average of N numbers without using Arrays and using for loop.
If limit is 5, then inside for loop we ask the user to input 5 integer values, and we add those values to the previous value present in variable sum. Simultaneously we keep incrementing the value of variable count by 1 for each iteration of for loop. Once the value of variable count is greater than the value of limit, then the control exits for loop. Immediately outside for loop we calculate the average by using the formula:
average = sum / limit;
C Programming Interview / Viva Q&A List
http://technotip.com/6378/c-programmi...
C Programming: Beginner To Advance To Expert
http://technotip.com/6086/c-programmi...
On this page of the site you can watch the video online C Program To Calculate Sum and Average of N Numbers without using Arrays, using For Loop with a duration of hours minute second in good quality, which was uploaded by the user Technotip 11 March 2020, share the link with friends and acquaintances, this video has already been watched 40,738 times on youtube and it was liked by 395 viewers. Enjoy your viewing!