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

How to get checkbox status whether it is checked or not?

920


What is hoisting in javascript?

929


Is javascript array dynamic?

903


How do you clear an array in javascript?

935


How to calculate fibonacci numbers in javascript?

1014


How to create a confirmation box?

932


How do I open a website code?

1038


What does the "Access is Denied" IE error mean?

1285


Why jquery is used instead of javascript?

868


Is javascript harmful?

931


How to capture the Image width and height using QTP script ? Kindly answer plz.... Thanx in adavance...

4010


Is javascript necessary for web development?

968


Is javascript used for backend?

910


What is arguments object in JavaScript?

1112


Which operator is used to assign a value to a variable?

877