C Program to Find Remainder Using Modulus Operator

 #include<stdio.h>

void main()

{     int a,b;

    printf("Enter two numbers: ");

    scanf("%d %d",&a,&b);


    printf("Remainder = %d",a%b);

}

Comments

Popular posts from this blog

Single Program Using All Automatic String Functions

C program for subtraction of two matrices (2D Arrays)

C program for Multiplication of Two matrices