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...
Auf dieser Seite können Sie das Online-Video C Program To Calculate Sum and Average of N Numbers without using Arrays, using For Loop mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Technotip 11 März 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 40,738 Mal angesehen und es wurde von 395 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!