write a program to enter five numbers and find the sum and average
Answers
Answered by
0
Answer:
In which language am I supposed to write the code?
You have not specified yet.
So sorry bro/sis but I can't answer that question
by the way
PLEASE MARK MY ANSWER AS THE BRAINLIEST
Answered by
0
Explanation:
#include <stdio.h>
void main(){
int n, i, sum = 0;
float avg;
for(i = 0; i < 5; i++){
scanf("%d", &n);
sum += n;
}
Similar questions
Social Sciences,
4 months ago
Math,
4 months ago
Science,
8 months ago
Environmental Sciences,
8 months ago
Computer Science,
11 months ago
Psychology,
11 months ago
Psychology,
11 months ago