Program for calculating first no. is divisible by second or not?
Program for calculating first no. is divisible by second or not?
#include<stdio.h>void main()
{
int first,second;
printf("Enter the First value :");
scanf("%d",&first);
printf("Enter the Second value :");
scanf("%d",&second);
if(first%second==0)
printf("No. is devisivle \n");
else
printf("No. is not devisible \n");
}
out put:-
No comments: