Horje
Corong_ExerciseNo3(2) Code Example
Corong_ExerciseNo3(2)
Write a program that will input a number and will print "Divisible" if the number is divided 5, otherwise print "Not Visible"
Corong_ExerciseNo3(2)
#include<stdio.h>

int main()
{
  int number;
  
  printf("\n Please enter any number to check weather it is divisible by 5:");
  scanf("%d",&number);
  |
    if(number % 5 == 0)
    printf("\n %d is divisible",number)
    
    else
      printf("\n %d is Not Divisible",number)
      return 0;
}
Corong_ExerciseNo3(2)
#include<stdio.h>

int main()
{
  int number;
  
  printf("\n Please enter any number to check weather it is divisible by 5:");
  scanf("%d",&number);
  |
    if(number % 5 == 0)
    printf("\n %d is divisible",number);
    
    else
      printf("\n %d is Not Divisible",number);
      return 0;
}




Cpp

Related
(1 & 1) in cpp Code Example (1 & 1) in cpp Code Example
c++ tokenize string Code Example c++ tokenize string Code Example
C++ Quotient and Remainder Code Example C++ Quotient and Remainder Code Example
c++ schleife abbrechen Code Example c++ schleife abbrechen Code Example
c++ bind what are placeholders Code Example c++ bind what are placeholders Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9