Computer Science, asked by vickysmilevick6516, 19 days ago

Write a program that inputs a number and finds whether the number is divisible by 3 or not using if else structure.

Answers

Answered by adityanirgude22
0

Answer:

#include<stdio.h>

void main()

{

 int n;

 scanf("%d",&n);

 if(n%3==0)

   printf("The number is Divisible by 3\n");

 else

   printf("The number is not divisible by 3\n");

}

Explanation:

Similar questions