Why it's showing no output here. Pls help. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why it's showing no output here. Pls help.

https://code.sololearn.com/cOMF1OuQBdV8/?ref=app

11th Aug 2020, 9:04 AM
Amritesh Yadav
Amritesh Yadav - avatar
6 Answers
+ 4
You cant use command line here in sololearn,you need to keep it as (String args[]) and declare and initalize your variables within the main method.
11th Aug 2020, 9:21 AM
D_Stark
D_Stark - avatar
+ 2
Thanks
11th Aug 2020, 9:23 AM
Amritesh Yadav
Amritesh Yadav - avatar
+ 1
Can u help me how to do it?
11th Aug 2020, 9:13 AM
Amritesh Yadav
Amritesh Yadav - avatar
+ 1
I'm new to Java
11th Aug 2020, 9:14 AM
Amritesh Yadav
Amritesh Yadav - avatar
+ 1
I don't know java, but I have tried. Any other java programmer can help you better and you forgot to add string args[] in main function https://code.sololearn.com/cit3QiMY1Kfj/?ref=app
11th Aug 2020, 9:21 AM
v@msi😉
v@msi😉 - avatar
0
Where is the input to l, b, h to get the output?
11th Aug 2020, 9:12 AM
v@msi😉
v@msi😉 - avatar