Answer:
input number
calculate modulus of the number and 5
compare outcome to 0
if 0 then output "divisible by 5"
else output "not divisible by 5"
Explanation:
The modulo operator is key here. It returns the remainder after integer division. So 8 mod 5 for example is 3, since 5x1+3 = 8. Only if the outcome is 0, you know the number you divided is a multiple of 5.
A bottom up approach because group of a set choices can’t be the answer
Answer:
Explanation:
It is called "Turban"
Sikhs wear the turban, to take care of the hair, promote equality, and preserve the Sikh identity