0

Remove an element in the order in which we input strings

System.out.println("\nOrder is: "); for (int i = 0; i < SIZE; i++){ // TODO Remove an element in the order in which we input strings // Save it to the String variable, named line System.out.println(line); }

16th Mar 2020, 5:42 PM
Cyrus
2 Réponses
+ 2
What is your problem?
16th Mar 2020, 5:52 PM
A͢J
A͢J - avatar
+ 1
Incomplete code. There is no user input in your code, size and line are not declared. If I get it right then you are trying to give one input at a time and you store it in the line variable to make a sentence out of it. Did I get that right? Anyways try your best and come back with a more structured code with all the possible declaration and initializations done. We will help you with the loop. https://www.sololearn.com/discuss/1316935/?ref=app
16th Mar 2020, 6:03 PM
Avinesh
Avinesh - avatar