answersLogoWhite

0

How do you make Additison of two nos in Javascript?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

I assume you mean the addition mathematically of two numbers. The simple answer is to divide the numbers by one. Simple addition example. var num1 = prompt("Insert first number.",""); var num2 = prompt("Insert second number.",""); var ans = num1/1 + num2/1; alert(ans);

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you make Additison of two nos in Javascript?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are even nos between 100 to 300 that is the sum of two prime nos?

Each one of them can be expressed as a sum of two primes.


What two tags does javascript have to be enclosed in?

as far as i know they are: <script type="text/javascript"> all my lovely javascript code!!! </script>


What are two of the programming languages?

ADA and Javascript. Did you want any particular two?


Why was the equal sign invented?

to compare the two nos....


How many syllables does nosed have?

two. nos-ed


What does je croiyer que nos deux alliance ete amis mean?

This does not actually make sense. Did you mean 'je crois que nos deux alliances ont été amis'? This means 'I believe that our two alliances were friends'.


Two consecutive nos with a product of 1122?

33and 34


How do you do JavaScript?

Java script or javascript. a javascript is just object orientated language that you can embed into HTML to make an object preform tasks that are much much harder for any other language to do. On the other hand a complete Java script is much harder because pure Java is a language that is used to develope games and takes a lot more time to do than javascript, but it can do so much more than Javascript.


Does JavaScript interact with PHP?

Yes, JavaScript and PHP can interact with each other in web development. JavaScript is a client-side scripting language that runs in a user's browser, while PHP is a server-side language that runs on the server. The two languages can communicate with each other through the use of AJAX (Asynchronous JavaScript and XML) requests. JavaScript can make an AJAX request to a PHP script on the server, and the PHP script can process the request and return data back to the JavaScript code. This allows for dynamic, interactive web pages that can update their content without requiring a full page refresh. Overall, JavaScript and PHP are complementary technologies that can work together to create powerful web applications


What is the difference between javascript and java language?

JavaScript and Java are two different programming languages. Java is a server-side, statically typed language. JavaScript is a mostly client-side, dynamically typed language. Java supports heavy back end computations while JavaScript enables interactive AJAX ones.


What two nos have a sum of 5 and product of 6?

2 and 3.


What is vb script and javascript?

vbscript and javascript are both client-side scripting languages, which means that they are used in HTML. vbscript and javascript are two different languages, just as English and french are two different languages. There are many places to learn them, but a good, rough outline for beginners, that covers all the basics, can be found at http://www.w3schools.com/