Cari MaxMin

Run Settings
LanguageJavaScript
Language Version
Run Command
function MaxMin(n1, n2) { IsMax = Math.max(n1, n2); if (n1 == n2) { console.log('kedua nila sama'); } else { console.log(`${IsMax} adalah nilai terbesar`); } } MaxMin(20,10);
Editor Settings
Theme
Key bindings
Full width
Lines