#include<stdio.h>
#include<conio.h>
void main()
{
int n1,n2,n3,result,avg;
clrscr();
printf("Enter three Numbers : ");
scanf("%d%d%d",&n1,&n2,&n3);
 avg=(n1+n2+n3)/3;
printf("Average = %d",avg);
getch();
}
INPUT
Enter Three Numbers : 10
20
30
OUTPUT
Average = 20

Leave a Reply

Subscribe to Posts | Subscribe to Comments

All Notes on BCA

All Notes  on BCA
BCA all subjects notes

Total Pageviews

Translate

Powered by Blogger.

Copyright © All Notes on BCA