I have a recursive function squares that receives a positive integer n and prints out the first n perfect squares in descending order. Can anyone tell me if this is correct and if not please help.
squares(int n)
{
if( n== 1 )
return 1;
else
return squares ) n * n );
}