Professional Documents
Culture Documents
WIP
WIP
Scanner;
public class MyClass {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
}
}
-----------------------------------------------------------------------------------
--------------------------------------------
import java.util.Scanner;
public class MyClass {
public static void main (String args[]) {
Scanner input = new Scanner (System.in);
//input
System.out.print("Please put your 1st number here: ");
int a = input.nextInt();
int c = a+b;
int d = a-b;
int e = a*b;
int f = a/b;
int g = a%b;
//output
System.out.println();
}
}
-----------------------------------------------------------------------------------
---------------------------------------------
import java.util.Scanner;
public class MyClass {
public static void main(String args[]) {
Scanner input = new Scanner (System.in);
int a = input.nextInt();