Contoh Coding Bahasa Pemrograman Javascript

 

Aritmatika

<!DOCTYPE html>
<html>
<body>
<p>A typical arithmetic operation takes two numbers and produces a new number.</p>
<p id="demo"></p>
<script>
var x = 100 + 50;
document.getElementById("demo").innerHTML = x;
</script>
</body>
</html>

Hasilnya :

contoh coding

Subscribe to receive free email updates:

0 Response to "Contoh Coding Bahasa Pemrograman Javascript"

Posting Komentar