My issue
The Initial size is not given as Huge, to turn the next output as NORMAL. How would we assume the Initial size is HUGE? Could anyone help me out.
My code
// Update the '_' in the code below to solve the problem
import java.util.Scanner;
class Codechef
{
public static void main (String[] args)
{
int x = 12;
System.out.println("Mario's size after eating " + x + " mushrooms is NORMAL");
x = 13;
System.out.println("Mario's size after eating " + x + " mushrooms is HUGE");
x = 14;
System.out.println("Mario's size after eating " + x + " mushrooms is SMALL");
}
}
Learning course: Solve Programming problems using Java
Problem Link: CodeChef: Practical coding for everyone