0
PLS can anyone help me with a js code for a simple calculator
6 Answers
+ 4
You can search in Sololearns code section and find out very big number of samples. Here one of them:
https://code.sololearn.com/Wm2Es9SO3vHa/?ref=app
+ 3
How is the text of the problem and where is your attempt with a spcific question?
+ 2
We can help but you have to attempt it first and then share with us what the problem is and the code which has the problem.
Can you do that?
+ 2
Anslem Cheta you start by deciding how your program should work. What will be it's capabilities, how will it interact with the user.
The most simple JavaScript calculator can be as much as:
console.log(1+1)
functionality: it is able to calculate the sum of two numbers
input: the user can enter the numbers directly in the code
output: result is printed to console
obviously this looks VERY simple, but it could be a start :)
When you have your requirements, you can begin coding.
0
Guys there's no error, it's just that I don't know where to start
0
Thanks guys