आपकी ऑफलाइन सहायता

BACK
49

सी प्रोग्रामिंग

149

पाइथन प्रोग्रामिंग

49

सी प्लस प्लस

99

जावा प्रोग्रामिंग

149

जावास्क्रिप्ट

49

एंगुलर जे.एस.

69

पी.एच.पी.
माय एस.क्यू.एल.

99

एस.क्यू.एल.

Free

एच.टी.एम.एल.

99

सी.एस.एस.

149

आर प्रोग्रामिंग

39

जे.एस.पी.





डाउनलोड पी.डी.एफ. ई-बुक्स
JS - Arithmetic Operators

विवरण :

कोई विवरण नहीं है |


सोर्स कोड :

<!DOCTYPE html>
<html>
<head>
<title> Operator - Arithmetic Operators </title>
<body>
<script type="text/javascript">

var a=10,b=2;

document.write( "Addition of a and b is " + a + b + "<br>" );

document.write( "Subtraction of a and b is " + (a - b) + "<br>" );

document.write( "Multiplication of a and b is " + a * b + "<br>" );

document.write( "Division of a and b is " + a / b + "<br>" );

document.write( "Remainder of a and b is " + a % b + "<br>" );

document.write( "Incrementing of a is " + ++a  + "<br>" );

document.write( "Decrementing of a is " + --b );

</script>
</body>
</head>
</html>

आउटपुट :