My issue
please tell that can we solve this question without loop actually i am not able to understand the use of loop
My code
// Update the code below to solve the problem
import java.util.Scanner;
class Codechef
{
public static void main (String[] args)
{
Scanner read = new Scanner(System.in);
int t = read.nextInt();
//Update your code below this line to solve the problem
}
}
}
Learning course: Logic Building in Java
Problem Link: CodeChef: Practical coding for everyone