Computer Science, asked by harshitha8992, 11 months ago

write a c program to find average of 4 numbers by accepting the numbers​

Answers

Answered by amanpathak8833
4

Answer:

#include <stdio.h>

#include<conio.h>

void main()

{

int A [4],i;

float avg,sum=0;

clrscr ();

{

printf ("Enter the numbr to find average");

for(i=0;i <0;i++)

scanf ("%d",&A [i]);

}

for(i=0;i <0;i++)

sum=sum+A [i];

avg=sum/4;

printf("Average is %f",avg);

getch ();

}

it will help you ❤❤❤❤

Similar questions