0

Could someone help me revise my code. Its not showing what i want it to

https://code.sololearn.com/cNc0XxZ04353/#java

6th Oct 2020, 4:57 AM
Iris
7 Antworten
+ 8
Initialise singletree to 0 insted of taking input for it from user.. Maybe that's why it didn't work for you because you didn't give input for singletree?
6th Oct 2020, 5:15 AM
Minho
Minho - avatar
+ 7
You can't take multiple inputs in solo learn. All your inputs should be given at the beginning. In ide your code works fine for me. What problems are you facing?
6th Oct 2020, 5:08 AM
Minho
Minho - avatar
+ 7
Iris Thank you so much for your kind words! You really made my day ☺️ I'm glad I could help you. Happy coding and never give up!
6th Oct 2020, 5:20 AM
Minho
Minho - avatar
+ 2
Minho you are my life saver. I will think of you when I struggle to give me strength. I have been working on this more than 20hrs and was ready to give up. Bless your heart man. You are amazing I truly appreciate you.
6th Oct 2020, 5:18 AM
Iris
+ 1
You wrote code in Java, then you should use Java playground instead of Javascript 😉
6th Oct 2020, 5:03 AM
ThreeG
ThreeG - avatar
0
i used jgrasp and it runs but doesnt output the other if else statements
6th Oct 2020, 5:08 AM
Iris
0
thank you minho . I am trying to get it to look like this Green Fields Landscaping Evergreen Tree Invoice 4 Trees at 99.00 each : $ 396.00 Delivery Charge: $ 0.00 ----------- TOTAL: $ 396.00 but it only displays up to here ----jGRASP exec: java trees What is the number of Trees you'd like to purchase?: 3 What is the tree height to the nearest foot?: 3 Will the trees be delivered? Enter 1 for Yes, Enter 0 for No. 1 Green Fields Landscaping Evergreen Tree Invoice
6th Oct 2020, 5:11 AM
Iris