Write a javascript program to make a simple calculator
Answer Posted / vinoth180
var a=20;
var b=11;
document.writeln("ADDITION:",a+b,"<br>");
document.writeln("SUB:",a-b,"<br>");
document.writeln("MUL:",a*b,"<br>");
document.writeln("MUL:",a%b,"<br>");
| Is This Answer Correct ? | 47 Yes | 33 No |
Post New Answer View All Answers
Auto insurance project..How to explain project in interviews.Using Automation tool (selenium).
What Does JavaScript Void(0) Mean?
How to hide javascript code from old browsers that dont run it?
Is javascript event driven?
How do you include a comment in javascript?
What is the instanceof operator in JavaScript?
What is Javascript namespacing? How and where is it used?
What are the four types of javascript objects?
Consider the following code: 1 2 3 4 5 (function() { var a = b = 5; })(); console.log(b); what will be printed on the console?
What output will this program produce System.out.println(x+"+"+y+"="+(x+));
How to test PAGE LOAD TIME, RELOAD THE PAGE, CAPTURE THE URL'S , TEST THE PIXALS please please above all these how to test as a tester
What is memory leak in javascript?
Explain window.onload and ondocumentready?
Is javascript used for backend?
What is the difference between ‘var’ and ‘let’ keyword?