#include <stdio.h>
int main() {
int a,b,c;
printf("Enter first number\n");
scanf("%d\n",&a);
printf("Enter second number\n");
scanf("%d\n",&b);
printf("Enter third number\n");
scanf("%d\n",&c);
printf("avg is %f\n",(a+b+c)/3.0);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: