How to add numbers ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to add numbers ?

28th Apr 2017, 3:52 PM
Rajat
8 Answers
+ 6
<!DOCTYPE html> <html> <head> <title>LOL</title> </head> <body> <script> var x = 1; var y = 2; var z = x + y; document.write(z); </script> </body> </html> Done.
28th Apr 2017, 8:52 PM
Complex
Complex - avatar
+ 5
finish your html course and then take the JavaScript course. it's all explained there.
28th Apr 2017, 4:08 PM
Mario L.
Mario L. - avatar
+ 4
can you please mention the situation where you need a number as input, or go through the course to see it
28th Apr 2017, 4:09 PM
Siddharth Saraf
+ 2
thanks
29th Apr 2017, 2:18 AM
Rajat
+ 1
please specify your question. where do you want to add numbers? what numbers?
28th Apr 2017, 3:54 PM
Mario L.
Mario L. - avatar
+ 1
you can use JavaScript or PHP to add numbers in a HTML document
28th Apr 2017, 4:05 PM
Mashan Shaluka1
Mashan Shaluka1 - avatar
+ 1
what is its coding
28th Apr 2017, 4:06 PM
Rajat
+ 1
is he just making fun?
28th Apr 2017, 4:09 PM
Mashan Shaluka1
Mashan Shaluka1 - avatar