0

Query

Please tell me what error I am doing as the output is not coming accordingly https://code.sololearn.com/cK2f2BndVS1S/?ref=app

1st Jun 2020, 12:16 PM
Aditya Negi
Aditya Negi - avatar
6 Antworten
+ 2
it is necessary to write shape name exactly upercase capital leter. java has got Math.PI constant
1st Jun 2020, 9:28 PM
zemiak
+ 1
Hello Denise Roßberg When I enter the shape name, it shows the wrong output
1st Jun 2020, 1:31 PM
Aditya Negi
Aditya Negi - avatar
+ 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.
1st Jun 2020, 1:35 PM
Denise Roßberg
Denise Roßberg - avatar
0
Hello Aditya Negi Which problem do you have? I could not find an error.
1st Jun 2020, 12:23 PM
Denise Roßberg
Denise Roßberg - avatar
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
1st Jun 2020, 1:38 PM
Aditya Negi
Aditya Negi - avatar
0
THANKS ZEMIAK 😀😊
2nd Jun 2020, 5:39 AM
Aditya Negi
Aditya Negi - avatar