#include <stdio.h>
main()
{
int a,b,sum;
printf("enter the first number:\n");
scanf("%d",&a);
printf("enter the second number:\n");
scanf("%d",&b);
sum= (a+b)/2;
printf("enter the average of two integer number = %d",sum);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: