MULTIPLE OF 5 OR NOT

#include<stdio.h>
#include<conio.h>
void main()
{
int no,r;
printf("Enter Any Number");
scanf("%d",&no);
r=no%5;
if(r==0)
  {
  printf("The entered number is multiple of 5");
  }
  else
   {
   printf("Entered number is not a multiple of 5");
   }
getch();
}

0 comments: (+add yours?)

Post a Comment