C PROGRAM TO PRINT SUM,PRODUCT,QUOTIENT,REMAINDER OF 2 NUMBERS



/* PROGRAM TO PRINT SUM,PRODUCT,QUOTIENT,REMAINDER OF 2 NUMBERS*/
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a,b;
printf("\n ENTER TWO NUMBERS \n");
scanf("%d%d",&a,&b);
printf("\n SUM       = %d \n PRODUCT   = %d \n QUOTIENT  = %d \n REMAINDER = %d \n",a+b,a*b,a/b,a%b);
getch();
}
For more C programs - click here

Popular posts from this blog

Mini Militia Chat Codes - Shortforms

8051 Assembly Program Code for Sorting in Ascending Order - Keil -AT89C51