My issue
outputs are not showing.
My code
/* package codechef; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Codechef
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner scn = new Scanner(System.in);
int t = scn.nextInt();
for(int i=0;i<0;i++){
int x = scn.nextInt();
int y = scn.nextInt();
int z = scn.nextInt();
if((x+y)>z){
System.out.println("TRAIN");
}else if((x+y)==z){
System.out.println("EQUAL");
}else{
System.out.println("PLANEBUS");
}
}
// your code goes here
}
}
Problem Link: CHEFTRANS Problem - CodeChef