• + 4 comments

    just modify if(num - (val*val) == 0)