Well you could iterate until number/2 instead of sqrt(number) if you are not allowed to use math.h . However, keep in mind this is less efficient. For example if number = 121 with sqrt(number) you...
Type: Posts; User: claudiu
Well you could iterate until number/2 instead of sqrt(number) if you are not allowed to use math.h . However, keep in mind this is less efficient. For example if number = 121 with sqrt(number) you...