Thanks oler1s for the hint. This is the code I was finally able to write in order to determine if a number has a square root or not.
This is my third day learning by my self algorithms and C so I dont know if there is a better/easier way to solve the problem but... I hope it helps.
/*----------------------------*/
/* This code determines if an */
/* integer introduced by the */
/* user has a perfect...
Leave a comment: