CodePudding user response:
For your reference
# define _CRT_SECURE_NO_WARNINGS
#include
#include
#include
Int isSquare (int n)
{
Double c=SQRT (n);
If (c==(int), c)
return 1;
The else
return 0;
}
Int main ()
{
Int I, n=9999;
for (i=0; I & lt; n; I++)
{
If (isSquare (I + 100) & amp; & IsSquare (I + 168))
Printf (" % d \ n ", I);
}
system("pause");
return 0;
}