+ 2
Need help with java code. The problem is - need to create a showRectangleInfo() method that is given the length of both sides.
In the print method the arrays perimeter , area and the fact the rectangle is a square (if it is)
3 odpowiedzi
+ 3
I do not really understand what will be needed to do and hope this shows you the way how can be it done. By the way it will be recommended to learn the java basics here with Sololearns tutorial.
https://code.sololearn.com/cdtLVq9ngI1a/?ref=app
+ 3
Code is modified and now resistant on a wrong input.
+ 2
Hi
Tnx for your response.
Here is my first try- https://www.sololearn.com/compiler-playground/cQF7Z4Cle0Ht
p.s- im new commer in Java