osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JavaScript Calculator Program


On Sat, Dec 7, 2019 at 11:21 PM ferzan saglam <ferzans97 at gmail.com> wrote:
>
> Hi People, I am working on a simple calculator which uses operands (+-*/).
> The program allows me to choose an operand and enter the first two values, but when it gets to doing the maths, it gives me an error on
> "console.log ("The result is ", res);" under the + operand.
> (error code reads: Println is not a function)
>
> Any help will be much appreciated.
> Thanks in advance.

Do your own homework.

You've just posted a JavaScript homework problem to a Python mailing
list. The only help I'm going to give you is to remind you to read
your error messages, because they are there to help you.

ChrisA