#include <stdio.h> int main() { int a ,b ,c, avg; printf ("enter the three no.: \n "); scanf ("%d %d %d", &a, &b, &c); avg = (a + b + c)/3; printf("%d",avg); return 0; }
To embed this project on your website, copy the following code and paste it into your website's HTML: