Question: It said whitespace differs but I cannot solve it. 1 test passed 1 import java.util.Scanner; 2 public class Output Combinations { public static void main(String[]

It said whitespace differs but I cannot solve it.
1 test passed 1 import java.util.Scanner; 2 public class Output Combinations { public static void main(String[] args) { 4 Scanner scnr = new Scanner(System.in); 5 char a; 6 char b; 7 char c; All tests passed 9 10 11 12 13 14 15 16 17 18 19} a = scnr.next().charAt(0); b = scnr.next().charAt(0); C = scnr.next().charAt(0); a = 'x'; b = 'y'; c = 'z'; System.out.println("" +a + b + C +""+ a + C + + "" + b + a + C +""+ b + C + a +""+ C + a + b+ " " + C + b + a); System.out.println(""); } Run x Testing with 'x', y', '2' Output is nearly correct; but whitespace differs. See highlights below. Special character legend xyz xzy yxz yzx zxy zyx Your output Expected output xyz xzy yxz yzx zxy zyx
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
