My issue
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
int x = read.nextInt();
System.out.println(2*5*x);
}
}
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
int x = read.nextInt();
System.out.println(2*5*x);
}
}
Learning course: Java for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone