Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A
- 0.D
- 0.A
- 0.D
- 0.5
- 0.2.0
- 0.3.141592653589793
- 0.6
- 0.4
- 0.8
- 0.8
- 0.System.out.print(“Welcome”); System.out.print(“to”); System.out.print(“Java”); System.out.print(“Illuminated”);
- 0.int i = Math.max(3,5); System.out.println(i);
- 0.double d = 5.0; double d2 = Math.squrt(5,0), System.out.printlin(d2);
- 0.Scanner console = new Scanner(System.in); int i = console.nextInt(); int o = console.nextInt(); System.out.println(Math.max(i,o));
- 0.Scanner console = new Scanner(System.in); int i = console.nextInt(); int o = console.nextInt(); int p = console.nextInt(); System.out.println(Math.max(i,o,p));
- 0.Scanner console = new Scanner(System.in); double i = console.nextDouble(); System.out.println(Math.pow(i,2));
- 0.cant use decimal, cause it is a double not a short
- 0.pow uses a double not an int
- 0.PI is not a double
- 0.Math has to be capitalized when being used to call a math class function
- 0.PI cannot be followed by brackets
- 0.Math.e does not exist, replace with any math function that does
- 0.
- Random r = new Random();
- int Low = 0;
- int High = 100;
- int Result = r.nextInt(High-Low) + Low;
- Random r2 = new Random();
- int low2 = 0;
- int high2 = 100;
- int result2 = r2.nextInt(high2-low2)+low2;
- System.out.println(Math.max(Result,result2));
- 0.
- Scanner console = new Scanner(System.in);
- double a = console.nextDouble();
- System.out.println(Math.pow(a,3));
Advertisement
Add Comment
Please, Sign In to add comment