My issue
solution
My code
// Update the '_' in the code below
import java.util.Scanner;
class Codechef
{
public static void main (String[] args)
{
Scanner read = new Scanner(System.in);
i
String A = read.next();
String B = read.next();
String C = read.next();
String D = read.next();
String E = read.next();
// You can use "\n" to add a new line instead of adding multiple print statements
System.out.print(A + "\n" + B + "\n" + C + "\n" + D + "\n" + E );
}
}
Learning course: Logic Building in Java
Problem Link: CodeChef: Practical coding for everyone