Just to take ambiguity out of terminology: divisor.
To work out solution there are some hints:
- every number divides with 1 and itself --> no need to check those
- there can't be bigger divisor than half of number --> look for divisors in range up to num / 2
To work out solution there are some hints:
- every number divides with 1 and itself --> no need to check those
- there can't be bigger divisor than half of number --> look for divisors in range up to num / 2
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.