Program :
#include <stdio.h>#include <conio.h>
void main()
{
int a,b,c;
clrscr();
printf("\nEnter the value 1: ");
scanf("%d",&a);
printf("Enter the value 2: ");
scanf("%d",&b);
printf("\nAddition : %d",a+b);
printf("\nSubtraction : %d",a-b);
printf("\nMultipilication :%d",a*b);
printf("\nDivision : %d",a/b);
printf("\nModules : %d",a%b);
getch();
}
0 comments:
Post a Comment