//ARITHMETIC OPERATIONS
//Downloaded from www.c4cprog.co.nr
#include<conio.h>
void main()
{
int a,b,sum,diff,mult,mod;
float div;
clrscr();
printf("Enter Numbers A & B :\n");
scanf("%d%d",&a,&b);
sum=a+b;
diff=a-b;
mult=a*b;
div=a/b;
mod=a%b;
printf("\nResult\n\nSum = %d\nDifference = %d\nProduct = %d\nQuotient = %f\nRemainder = %d\n",sum,diff,mult,div,mod);
getch();
}
Programs Can Also Be Downloaded From The Folders Below....[Or Scroll Down]
Arithmetic Operations
Click Here To Download C File Of This Program
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment