Computer Science, asked by vutukuruharini, 2 months ago

write an algorithm to find out whether given number is divisible by 12 or not​

Answers

Answered by TechnoD
0

Answer:

Step 1 : Store Input in a var X and

A = false

B = false

Step 2 : If(X%3===0 ):

                   A = true

Step 3 : If(X%4===0 ):

                   B = true

Step 4 : if(A === true && B === true):

                   Print("%s is divisible by 12" %X)

Explanation:

Similar questions