Намунаи 6

<html>
<head>
<meta charset='utf-8'/>
<title>Намунаи 6</title>
</head>
<body>
<script type="text/javascript">
<!--
var a = 33;
var b = 10;

document.write("Қимати a = " + a + "<br/>");
document.write("Қимати b = " + b + "<br/>");
document.write("<br/>");

a = b;
document.write("Натиҷаи амали a = b => <br/>");
document.write("қимати a = " + a + "<br/>");
document.write("қимати b = " + b + "<br/>");
document.write("<br/>");

a += b;
document.write("Натиҷаи амали a += b => <br/>");
document.write("қимати a = " + a + "<br/>");
document.write("қимати b = " + b + "<br/>");
document.write("<br/>");

a -= b;
document.write("Натиҷаи амали a -= b => <br/>");
document.write("қимати a = " + a + "<br/>");
document.write("қимати b = " + b + "<br/>");
document.write("<br/>");

a *= b;
document.write("Натиҷаи амали a *= b => <br/>");
document.write("қимати a = " + a + "<br/>");
document.write("қимати b = " + b + "<br/>");
document.write("<br/>");

a /= b;
document.write("Натиҷаи амали a /= b => <br/>");
document.write("қимати a = " + a + "<br/>");
document.write("қимати b = " + b + "<br/>");
document.write("<br/>");

a %= b;
document.write("Натиҷаи амали a %= b => <br/>");
document.write("қимати a = " + a + "<br/>");
document.write("қимати b = " + b + "<br/>");
document.write("<br/>");
//-->
</script>
<p>Ба тағйирёбандаҳо қиматҳои гуногун бахшида, натиҷаро бинед.</p>
</body>
</html>