write an algorithm to find out whether given number is divisible by 12 or not
Answers
Answered by
1
Explanation:
n=int(input ('enter a number'))
if n%12==0:
print('number divisible by 12')
elif n%12!=0:
print('number is not divisible by 12')
else:
print('invalid entry')
Similar questions