Write a Calculator program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Write a Calculator program

Write a program to solve mathematical formulas https://code.sololearn.com/Wa7B3NeKm8P4/?ref=app

30th Jun 2018, 3:24 PM
Salamander Jin
Salamander Jin - avatar
3 Answers
+ 2
To save the return value of a calculated result, how should I do it?
30th Jun 2018, 3:36 PM
Salamander Jin
Salamander Jin - avatar
0
Cool, but do you have a question?
30th Jun 2018, 3:25 PM
Sad
Sad - avatar
0
You can write: var result = f(x,y); where 'f' is the name of your function and 'x, y' are the arguments.
30th Jun 2018, 4:34 PM
giannismach
giannismach - avatar