How can I define these two variables? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How can I define these two variables?

I always use a lot of functions and confuse myself, and I know you can't use a variable you defined in one function in another function, but I think I need a more experienced programmer to tell me how I can define firstNumber and secondNumber in operator without throwing anything else off balance. Thanks in advance https://code.sololearn.com/WS5nmS4omS32/?ref=app

9th Feb 2018, 9:54 PM
jacksonofgames 28
jacksonofgames 28 - avatar
3 Answers
+ 8
This is your correct code. Try it.☺😋 https://code.sololearn.com/W94yU75P94oT/?ref=app
9th Feb 2018, 10:31 PM
Vitaliy Angelov (Rostov-on-Don)
Vitaliy Angelov (Rostov-on-Don) - avatar
+ 1
I don't think your code sent properly Vitality Angelov
11th Feb 2018, 11:03 PM
jacksonofgames 28
jacksonofgames 28 - avatar
0
Var x=your number here
10th Feb 2018, 6:37 PM
Batboi03
Batboi03 - avatar