Computer Science, asked by pratikdada7666, 10 months ago


• To check whether the accepted integer is multiple of 3 or multiple of

Answers

Answered by dangetiprasannasai
1

Answer:

int a;

printf("enter the number:");

scanf("%d",&a);

if(a%3==0)

printf("it is divisible by 3");

else

printf("not divisible");

Explanation:

if it is divisible by 3 then it is accepted

Similar questions