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
How to get checkbox status whether it is checked or not?
What is hoisting in javascript?
Is javascript array dynamic?
How do you clear an array in javascript?
How to calculate fibonacci numbers in javascript?
How to create a confirmation box?
How do I open a website code?
What does the "Access is Denied" IE error mean?
Why jquery is used instead of javascript?
Is javascript harmful?
How to capture the Image width and height using QTP script ? Kindly answer plz.... Thanx in adavance...
Is javascript necessary for web development?
Is javascript used for backend?
What is arguments object in JavaScript?
Which operator is used to assign a value to a variable?