j

Tuesday, 3 November 2015

Write a program that take two numbers form user and perform all arithmetic opreation



#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a,b;
printf("Enter two number ::");
scanf("%d%d",&a,&b;
printf("%d\n",a+b);
printf("%d\n",a-b);
printf("%d\n",a*b);
printf("%d\n",a/b);
printf("%d\n",a%b);
getch();
}

Subscribe to this Blog via Email :