From Albert Campbell C.I., Moira Secondary School, University of Toronto
About
import java.util.Scanner; public class youtube101 { public Static void main(String [] args) { Scanner input= new Scanner(System.in); int limit= input.nextInt(); int speed= input.nextInt();
if(speed<=limit)
{
System.out.println("Congratulations, you are within the speed limit! ");
}
else if(speed>=limit&&<limit+20)
{
System.out.println("you are speeding and your fine is $500");
}
else(speed>=limt+21&&speed<=30)
{
System.out.println("you are speeding and your fine is $100");
}
} }