QUOTIENT AND REMENDER OF DIVISION

#include <stdio.h>
#include<conio.h>
void main()
{
    int dividend, divisor, quotient, remainder;
    printf("Enter dividend and divisor\n");
    scanf("%d%d",&dividend,&divisor);
    quotient=dividend/divisor;
    remainder=dividend%divisor;
    printf("Quotient = %d\n",quotient);
    printf("Remainder = %d",remainder);
    getch();
}







Comments

Popular posts from this blog

KM TO CM

volume of sphere