write an algorithm to find out whether given number is divisible by 12 or not
Answers
Answered by
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
Computer Science,
1 month ago
Computer Science,
1 month ago
Science,
2 months ago
Math,
9 months ago
Physics,
9 months ago
Math,
9 months ago