GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — JavaTutorial/src/3_ArithmeticOperator.java at master · kankwu/JavaTutorial Expand file tree/ Copy path3_ArithmeticOperator.javaMore file actions 21 lines (17 loc) · 369 Bytes / Copy path3_ArithmeticOperator.javaFile metadata and controls21 lines (17 loc) · 369 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 /** * * Arithmetic Operators * */ public class Main { public static void main(String[] args) { // Arithmetic Operator int result = 3 + 1 - 7 * 5 % 3 / 2; // Left to Right, [ * / % ] > [ + - ] System.out.println(result); // => 3 + 1 - 7 * 5 % 3 / 2 // => 3 + 1 - 35 % 3 / 2 // => 3 + 1 - 2 / 2 // => 3 + 1 - 1 // => 4 - 1 // => 3 } } |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |