No error and no idea of failing test case in code project "Shapes". | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

No error and no idea of failing test case in code project "Shapes".

In the code project "Shapes" , just the third test case of mine is failing. I don't know why and it ain't showing me any error. How to know my error? Please help

16th Dec 2021, 9:28 AM
Ruchika Sehgal
Ruchika Sehgal - avatar
7 Answers
+ 2
I don't see any mistake in your code, maybe change the line 15 from System.out.println(Math.PI*(width*width)); to System.out.println(Math.PI*width*width); Let's see if that fixes it
16th Dec 2021, 9:52 AM
Rishi
Rishi - avatar
+ 2
Its working fine, just pass two inputs into seperate lines....
24th Dec 2021, 5:35 PM
Mridul Jaiman
Mridul Jaiman - avatar
16th Dec 2021, 9:31 AM
Ruchika Sehgal
Ruchika Sehgal - avatar
+ 1
Please help
16th Dec 2021, 9:31 AM
Ruchika Sehgal
Ruchika Sehgal - avatar
+ 1
Did that too, nothing is happening
16th Dec 2021, 9:55 AM
Ruchika Sehgal
Ruchika Sehgal - avatar
+ 1
Done! Thanks for your help Rishi 😊
16th Dec 2021, 9:57 AM
Ruchika Sehgal
Ruchika Sehgal - avatar
+ 1
Happy to help 😄
16th Dec 2021, 9:57 AM
Rishi
Rishi - avatar