Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

Corong_ExerciseNo3(2)

#include<stdio.h>

int main()
{
  int number;
  
  printf("
 Please enter any number to check weather it is divisible by 5:");
  scanf("%d",&number);
  |
    if(number % 5 == 0)
    printf("
 %d is divisible",number);
    
    else
      printf("
 %d is Not Divisible",number);
      return 0;
}
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
3+5 =