Also, you can't just take and rewrite that
code and hardcorely add it to the application. Since there are a lot of such pieces of code, at the same time other people are engaged in their maintenance and constantly add new pieces of code.
That is, in this case, the set of input data and
I hope that I clearly explained why we need to run the execution of
code in a
I suggest to write an application that has two input fields for variable names, two input fields with input for the values of these variables in double format, in case of entering a value other than double data type, we will set the value to
And the last input field will be called
(this will be
), which will be responsible for the output of the new calculated values of the variables we entered.
The application will look like the image below.