0
can't add two numbers.(take input using prompt) Help please! đ
2 Answers
+ 5
Prompt returns string type value by default so it will be concatenated not added.
you have to convert them to Number using Number()
https://code.sololearn.com/Ww87iJWm1Bcv/?ref=app