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
What is the use of decodeuri() and encodeuri()?
How and where javascript namespacing is used?
What is the difference between undeclared & undefined?
How to create a function using function constructor?
Explain unescape() in javascript?
Explain javascript debounce function?
What causes memory leaks?
how can i change colour of a image in aspx file?
What are the different types of errors available in javascript?
What do you understand by this keyword in javascript?
Difference between window.onload and onDocumentReady?
Why javascript is fast?
How to detect browser name using JavaScript?
What is use of JavaScript and jquery?
What is triple dot in javascript?