[Solved] Control is not waiting to read for string object
You want to put the second input line – to take the configuration1 into a for loop to run T number of times and display it. public static void main(String[] args) { int T, N; System.out.println(“Enter number of test cases: “); Scanner in = new Scanner(System.in); T = in.nextInt(); String configuration1; for (int i = … Read more