So far i have :
but then i have to reverse num and print the square root of that reversed number. I'm lost. I know that I have to use char or array but i'm not even sure how to start.Code:
printf("Enter 4 digit integer: ");
printf("Square root of %d is: %6.4f \n", num, s);
Anybody can point me in the right direction?