0
Query
Please tell me what error I am doing as the output is not coming accordingly https://code.sololearn.com/cK2f2BndVS1S/?ref=app
6 Antworten
+ 2
it is necessary to write shape name exactly upercase capital leter.
java has got Math.PI constant
+ 1
Hello Denise Roßberg
When I enter the shape name, it shows the wrong output
+ 1
Can you give an example? Maybe your formula for calculating the area are not correct.
Btw: Instead of converting int to double you can directly ask for double: double a = sc.nextDouble(); and so on.
0
Hello Aditya Negi
Which problem do you have? I could not find an error.
0
I entered Circle and provided the radius but it was showing the default output and not that case output
Okay I'll do as you have told and let you know
0
THANKS ZEMIAK 😀😊