+ 1

JAVA Stack(data structure) Code (NEED HELP!)

This is a code of STACK data structure i wanna to make scanner return to start for example we got scanner 1 and scanner 2 ,after run scanner 1 will go scanner 2 immediately and after scanner 2 will return back to scanner 1 as well. *Recommend using computer to check this code. a little bit messy for phone user...... https://code.sololearn.com/ccWvLV4I80X3

12th Aug 2019, 3:44 PM
Tzion
Tzion - avatar
1 Answer
+ 2
import java.util.Scanner; import java.util.Stack; Line 27: change */ to // It works but on sololearn you have to input everything at the beginning.
12th Aug 2019, 11:08 PM
Denise Roßberg
Denise Roßberg - avatar