Computer Science, asked by bhopalkatoch60, 5 months ago

write a program to entre a no and check whether this no is divisible by 5
plz help to do this program​

Answers

Answered by yesiamin6
0

Answer:

#include<stdio.h>

#include<conio.h>

int main()

{

int a;

printf("enter a number\n") ;

scanf("%d", &a) ;

if(a%5==0)

printf("the number is divisible by 5\n");

else

printf("the number is not divisible by 5");

getch();

}

Similar questions