Computer Science, asked by sofiey, 1 month ago

write a C program to find the average of three numbers
help me please☹️☹️☹️☹️ please it's argent please ☹️​

Answers

Answered by srujanapriyankam
1

Answer:

#include<stdio.h>

int main()

{

int n1, n2, n3;

float avg;

printf("enter the number") ;

scanf("%d %d %d", &n1, &n2, &n3) ;

avg=(float) (n1+n2+n3) /3;

printf( "avg of%d %d %d is:%f", n1, n2, n3, avg) ;

return 0;

}

Answered by gauravmali846
1

here is your ANSWER in ABOVE picture

Attachments:
Similar questions