Below is a algo to solve this problem: If the number is even: Run the loop from i=2 till square root of the number ie: sqrt(number) and increase the count ...
確定! 回上一頁