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 do I enable cookies and javascript?
How can a page be forced to load another page in javascript?
What is the function of delete operator?
List few advantages of using javascript?
Methods get and post in html forms - what's the difference?
What is NaN?
Explain javascript closures by example.
Is there any class in javascript?
How do I run javascript in chrome?
How is it possible to get the total number of arguments that are passed to a function?
What is the difference between an array and an object?
Which is the best website to learn javascript?
Please write the Code of simple javascript calculator withot eval() function
What are the main functions performed by javascript statements?
Explain escape() in javascript?