問題①(戻り値が無い場合の引数あり)
円錐の半径rと高さhを入力し、円錐の体積を求めるプログラムを作りなさい。
ただし、main関数で円錐の半径rと高さhの入力を行い、円錐の体積の計算と表示はtaisekiという
関数で行うこと。
また、円周率は3.14を使用すること。
問題②(戻り値がある場合の引数あり)
円錐の半径rと高さhを入力し、円錐の体積を求めるプログラムを作りなさい。
ただし、main関数で円錐の半径rと高さhの入力と計算された円錐の体積の表示を行い、
円錐の体積の計算はtaisekiという関数で行うこと。
5ZWP6aGM4pGgKOaIu+OCiuWApOOBjOeEoeOBhOWgtOWQiOOBruW8leaVsOOBguOCiikKCuWGhumMkOOBruWNiuW+hHLjgajpq5jjgZVo44KS5YWl5Yqb44GX44CB5YaG6YyQ44Gu5L2T56mN44KS5rGC44KB44KL44OX44Ot44Kw44Op44Og44KS5L2c44KK44Gq44GV44GE44CCCuOBn+OBoOOBl+OAgW1haW7plqLmlbDjgaflhobpjJDjga7ljYrlvoRy44Go6auY44GVaOOBruWFpeWKm+OCkuihjOOBhOOAgeWGhumMkOOBruS9k+epjeOBruioiOeul+OBqOihqOekuuOBr3RhaXNla2njgajjgYTjgYYK6Zai5pWw44Gn6KGM44GG44GT44Go44CCCuOBvuOBn+OAgeWGhuWRqOeOh+OBrzMuMTTjgpLkvb/nlKjjgZnjgovjgZPjgajjgIIKCuWVj+mhjOKRoSjmiLvjgorlgKTjgYzjgYLjgovloLTlkIjjga7lvJXmlbDjgYLjgoopCuWGhumMkOOBruWNiuW+hHLjgajpq5jjgZVo44KS5YWl5Yqb44GX44CB5YaG6YyQ44Gu5L2T56mN44KS5rGC44KB44KL44OX44Ot44Kw44Op44Og44KS5L2c44KK44Gq44GV44GE44CCCuOBn+OBoOOBl+OAgW1haW7plqLmlbDjgaflhobpjJDjga7ljYrlvoRy44Go6auY44GVaOOBruWFpeWKm+OBqOioiOeul+OBleOCjOOBn+WGhumMkOOBruS9k+epjeOBruihqOekuuOCkuihjOOBhOOAgQrlhobpjJDjga7kvZPnqY3jga7oqIjnrpfjga90YWlzZWtp44Go44GE44GG6Zai5pWw44Gn6KGM44GG44GT44Go44CCCg==
Main.java:1: error: illegal character: \9312
???(?????????????)
^
Main.java:3: error: illegal character: \12289
?????r???h??????????????????????????
^
Main.java:3: error: illegal character: \12290
?????r???h??????????????????????????
^
Main.java:4: error: illegal character: \12289
????main????????r???h???????????????????taiseki???
^
Main.java:4: error: illegal character: \12289
????main????????r???h???????????????????taiseki???
^
Main.java:5: error: illegal character: \12290
????????
^
Main.java:6: error: illegal character: \12289
???????3.14????????
^
Main.java:6: error: illegal character: \12290
???????3.14????????
^
Main.java:8: error: illegal character: \9313
???(?????????????)
^
Main.java:9: error: illegal character: \12289
?????r???h??????????????????????????
^
Main.java:9: error: illegal character: \12290
?????r???h??????????????????????????
^
Main.java:10: error: illegal character: \12289
????main????????r???h?????????????????????
^
Main.java:10: error: illegal character: \12289
????main????????r???h?????????????????????
^
Main.java:11: error: illegal character: \12290
?????????taiseki???????????
^
14 errors