Given a program that reads two lines and outputs them in another order.
Now the program cannot compile.
Fix all compile-time errors as well as logic-errors.
Given a program that reads two lines and outputs them in another order.
Sample Input 1:
Hello,
Java!Sample Output 1:
Java!
Hello,Create a free account to access the full topic