Dyskusje Q&A
why does the 'else' statement on this code only work on the 'if' statement before it. I want it to work for all the 'if' statements in the code (that is, if none of the 'if' statements is true, then the else statement should execute). If that is not possible, then how it can be done?
2 głosów
6 odpowiedziI recently created and saved a small program privately and now I cannot figure out how to open it to edit and run it. I am new to using this app to create and run Java programs and would like to know how to do this in order to edit and reuse my programs. How do I open a program I have privately saved?
1 Głos
2 odpowiedziIn the short code below, I declared an array of five elements. But I'm getting confused on how to use it in a while loop. My main question is , if the user inputs a userchoice1 value that is less than 1, I want the code to keep looping until the user inputs a number that is not less than 1. But I don't know if the 7th line (userchoice1 [x]++) shows the right way to loop it.
1 Głos
2 odpowiedziPopularne dzisiaj
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Please rate my code from 1 to 10
2 Votes
Suggestions needed
4 Votes
Square Roots
0 Votes
How to start
0 Votes