Write Algorithm Class Averaging Program Process Arbitrary Number Grades Time Program Note Q37284508

Write an algorithm a class averaging program that will process anarbitrary number of grades each time the program.

Note: This question for C programming.



Answer


#include<stdio.h>int main() { int n = 0, count = 0, i; float sum = 0.0, input, avg; printf(“Enter numbers(-1 to exit): “); while(1){ scanf(“%f”,&input); if(input == -1){ break; }

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.