Number: 1 Number's square root: 1 Number squared: 1 --------- Number: 2 Number's square root: 1.41421 Number squared: 4 --------- (and so on and so forth) Number: 81 Number's square root: 9 Number squared: 6561 --------- |
|
|
Your function will need to also take an integer that will be incremented per recursion. |