+ 2

Challenge 2

Write a program to input a number and check if it is perfect square or not. If it is perfect square, display the square root. If it is not, display an appropriate message. If the user enters a negative number, display an appropriate message. The code must be written in Java.

25th Jun 2017, 6:56 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
7 ответов
25th Jun 2017, 8:00 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
25th Jun 2017, 8:33 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
+ 4
https://code.sololearn.com/ctdRRazwh8O3/?ref=app super easy
25th Jun 2017, 9:11 AM
Hetbo.net
Hetbo.net - avatar
+ 3
I see I'm late, but I'll still post it ;) https://code.sololearn.com/cy8iIx5FDBS5/?ref=app
25th Jun 2017, 8:08 AM
Limitless
Limitless - avatar
+ 3
ow you said java doesn't matter it's still simple I'll write it
25th Jun 2017, 9:11 AM
Hetbo.net
Hetbo.net - avatar
+ 3
and in java : as I said super easy https://code.sololearn.com/cf64qi9Bthde/?ref=app look at this clear and simple and very short
25th Jun 2017, 9:36 AM
Hetbo.net
Hetbo.net - avatar
+ 2
why java :,(
25th Jun 2017, 7:48 AM
clement
clement - avatar