Category: Tutorial

javascript

Contoh Program Javascript Kalkulator Sederhana

Berikut adalah contoh program Javascript kalkulator sederhana: <!DOCTYPE html> <html> <head> <title>Kalkulator Sederhana</title> <script> function hitung() { var angka1 = parseFloat(document.getElementById(“angka1”).value); var angka2 = parseFloat(document.getElementById(“angka2”).value); var operator = document.getElementById(“operator”).value; var

Baca Selengkpanya »
Translate »
Social media & sharing icons powered by UltimatelySocial

Enjoy this blog? Please spread the word :)

Scroll to Top
Skip to content