tugas 2 intan

Run Settings
LanguageJava
Language Version
Run Command
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner angka = new Scanner(System.in) ; System.out.println ("Masukkan angka pertama: "); int a = angka.nextInt(); System.out.println ("Masukkan angka kedua:") ; int b = angka.nextInt(); if ( a > b) { System.out.println ("Angka" + a +"adalah yang terbesar"); } else { System.out.println (" Angka" + b +"adalah yang terbesar"); } } }
Editor Settings
Theme
Key bindings
Full width
Lines