import java.util.Scanner;class Main {public static void main(String[] args) { System.out.println("Please put in two numbers: "); Scanner s = new Scanner(System.in);int one = s.nextInt();int two = s.nextInt(); System.out.println(two); System.out.println(one); }}
class Main {public static void main(String[] args) {int num = 2; System.out.println(num); num = 4; System.out.println(num); num = 4; System.out.println(num); num = 2; System.out.println(num); }}
import java.util.Scanner; class Main { public static void main(String[] args) { System.out.println("Please put in two numbers: "); Scanner s = new Scanner(System.in); int one = s.nextInt(); int two = s.nextInt(); System.out.println(two); System.out.println(one); } }
class Main { public static void main(String[] args) { int num = 2; System.out.println(num); num = 4; System.out.println(num); num = 4; System.out.println(num); num = 2; System.out.println(num); } }
import java.util.Scanner;
class Main {
public static void main(String[] args) {
System.out.println("Please input 2 integers");
Scanner sc = new Scanner(System.in);
int one = sc.nextInt();
int two = sc.nextInt();
System.out.println(two);
System.out.println(one);
}
}
import java.util.Scanner; class Main { public static void main(String[] args) { System.out.println("Please input 2 values."); Scanner x = new Scanner(System.in); int y = x.nextInt(); int b = x.nextInt(); System.out.printf("%d %d",b, y);