Lab-MathematicalOperator

Run Settings
LanguageJava
Language Version
Run Command
class Main { public static void main(String[] args) { int a = 5 ; int b = 3 ; int c ; int d ; int e,f,g ; c = a + b ; d = a - b ; e = a / b ; f = a * b ; g = a % b ; System.out.println(c); System.out.println(d); System.out.println(e); System.out.println(f); System.out.println(g); float l = 3.6f; int n = 22; int result = (int) l + n; System.out.println(result); double result1 = l + n ; System.out.println(result1); int i = 200; short s = (short) i; System.out.println(s); double o = (double) i; System.out.println(o); byte q = (byte) i; System.out.println(q); } }
Editor Settings
Theme
Key bindings
Full width
Lines