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
English,
4 months ago
Social Sciences,
4 months ago
Science,
9 months ago
Environmental Sciences,
9 months ago
Computer Science,
1 year ago
Psychology,
1 year ago