The problem description:
Change lineGiven two numbers a and b you will have to find out how many square numbers are there between a and b (inclusive).
Code: Select all
if(i==sqrt(i)*sqrt(i))
coun++;
![:)](./images/smilies/icon_smile.gif)
Code: Select all
int j = sqrt(i);
if(i==j*j)
coun++;