0
What is wrong with my code for the practice project shapes of java
I tried solving the java project shapes but my code only works for 4 of the test cases hidden case 3 it fails can anyone help me with why it is failing https://code.sololearn.com/cOy99z9wUnLI/?ref=app
2 Antworten
0
I tried your solution, not that I understand why it would work it passes hidden condition 3 now, but fails at 5.
- 1
ch fi
Change this
this.width * this.width * Math.PI
To this
Math.PI * this.width * this.width