VB.NET: Operator Aritmatika


OperatorArtiContoh
+Penambahan5 + 2 = 7
-Pengurangan5 – 2 = 3
*Perkalian5 * 2 = 10
/Pembagian5 / 2 = 2.5
\Pembagian bulat5 \ 2 = 2
ModSisa pembagian bulat5 Mod 2 = 1
^Pangkat5 ^ 2 = 25

Contoh Project:

Click here if you like this article.


Post a Comment

0 Comments