0

Pls i need help in the code

Write a function that accepts an integer parameter and returns its integer square root. The function should throw an exception if it is passed an integer that is not a perfect square. Demonstrate the function with a suitable driver program.

18th Aug 2020, 5:59 PM
Isuho Friday
Isuho Friday - avatar
1 Answer
+ 8
Hi Isuho Friday, if you need help with the code, please link your attempt in this thread, preferably in form of a SL project. How should we otherwise know what you are struggling with? Also, don't forget to tag the language the program is implemented in, that way more users proficient in that particular language are likely to see this post.
18th Aug 2020, 6:10 PM
Shadow
Shadow - avatar