Write a c program for addition subtraction multiplication and division using function

#include<stdio.h>
int main()
{
int i,j;
printf("\n Enter 1st Integer Value :");
scanf("%d",&i);
printf("\n Enter 2nd Integer Value :");
scanf("%d",&j);
printf("\n addition : %d",i+j);
printf("\n multiplication : %d",i*j);
printf("\n division : %d",i/j);
printf("\n subtraction : %d",i-j);
return 0;
}

Leave a Comment