"Hi, Amigo. You're doing great. Here is a new exercise for you: write a program that accepts some data from the keyboard and displays text that uses that data:"
Scanner scanner = new Scanner(System.in);
String name = scanner.nextLine();
int number = scanner.nextInt();
System.out.println(name + " will take over the world in " + number + " years. Mwa-ha-ha!");
Doesn't work and I don't know why
well, the first task is definitely not for level 2... It was a poor explanation in the lesson, so there is close to no chance of completing the task without additional research
GO TO FULL VERSION