#include
main() {
int a,b,c,d;
int sum,sub,mul,rem;
float div;
printf("enter value for b, c, d:");
scanf("%d%d%d",&b,&c,&d);
sum = b+c;
sub = b-c;
mul = b*c;
div = b/c;
rem = b%d;
a = b/c * d;
printf("\n sum = %d, sub = %d, mul = %d, div = %f",sum,sub,mul,div);
printf("\n remainder is %d",rem);
printf("\n a = %d",a);
}