Computer Science, asked by rathoremanvi6, 6 hours ago

Write a program to determine whether the entered two- digit number is divisible by 3 or not.​

Answers

Answered by panigrahiarpan2010
0

Answer:

Explanation:

#include<stdio.h>

int main()

{

int num;

printf("Enter a number: ");

scanf("%d"&num);

if(num%3==0)

{

 printf("%d is divisible by 3",num);

}

else

{

 printf("%d is not divisible by 3",num);

}

return 0;

}

Similar questions