My issue
My code
// Change the 'custom inputs' below and click 'run'
// Click on 'Submit' once you have tried out to proceed to the next problem
import java.util.Scanner;
class Codechef
{
public static void main (String[] args)
{
Scanner read = new Scanner(System.in);
int t = read.nextInt();
for(int i=0; i<t; i++)
{
int n = read.nextInt();
System.out.println(n+1);
}
}
}
Learning course: Java for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone