Header Ads Widget

Responsive Advertisement

Addition, Substraction, Multiplication, Devide

 


#include <stdio.h>


int main()
{
 
  int a,b;
printf("Enter 1st Value in Integer");
scanf("%d",&a);
printf("Enter 2nd Value in Integer");
scanf("%d",&b);
printf("The Sum is : %d \n",a+b);
int c,d;
printf("Enter 1st Value in Integer");
scanf("%d",&c);
printf("Enter 2nd Value in Integer");
scanf("%d",&d);
printf("The Product is : %d \n",c*d);
int e,f;
printf("Enter 1st Value in Integer");
scanf("%d",&e);
printf("Enter 2nd Value in Integer");
scanf("%d",&f);
printf("The Substruction is : %d \n",e-f);

int g,h;
printf("Enter 1st Value in Integer");
scanf("%d",&g);
printf("Enter 2nd Value in Integer");
scanf("%d",&h);
int div=g/h;
printf("The Substruction is : %d \n",div);


  return 0;
}

Post a Comment

0 Comments