Written by Dinesh Thakur

 

#include<stdio.h>

void main()
{
     int a;
     clrscr();
     printf ("Enter the No : ");
     scanf("%d",&a);
     if(a%5==0)
       {
           printf("No.is Divisible by 5");
       }
     else
      {
           printf("No is not Divisible by 5");
      }
           getch();
}
Output :
Enter the No : 5
No.is Divisible by 5




About Us

Dinesh ThakurDinesh Thakur is a Columinist and designer with strong passion and founder of Computer Notes. if you have any ideas or any request me @
linkedin FaceBook Twitter Google Plus