+ 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.
7 Answers
+ 4
This is the stats code.
https://code.sololearn.com/W0wkmhOLVnju/?ref=app
+ 4
https://code.sololearn.com/ctdRRazwh8O3/?ref=app
super easy
+ 3
I see I'm late, but I'll still post it ;)
https://code.sololearn.com/cy8iIx5FDBS5/?ref=app
+ 3
ow you said java
doesn't matter
it's still simple
I'll write it
+ 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
+ 2
why java :,(