Initial commit on develop branch
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#include "IntSqrt.h"
|
||||
|
||||
int intSqrt(int number)
|
||||
{
|
||||
for (int i = 1; i < 100000000; i++)
|
||||
{
|
||||
if (i * i == number) return i;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
Reference in New Issue
Block a user