Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the use of decodeuri() and encodeuri()?

913


How and where javascript namespacing is used?

869


What is the difference between undeclared & undefined?

868


How to create a function using function constructor?

968


Explain unescape() in javascript?

877


Explain javascript debounce function?

977


What causes memory leaks?

849


how can i change colour of a image in aspx file?

1942


What are the different types of errors available in javascript?

937


What do you understand by this keyword in javascript?

825


Difference between window.onload and onDocumentReady?

906


Why javascript is fast?

864


How to detect browser name using JavaScript?

974


What is use of JavaScript and jquery?

1011


What is triple dot in javascript?

927