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); }
2 Réponses
+ 2
What is your problem?
+ 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