Going to use this prompt.
You are tasked with finding the result of the following math expression.
The result should be given in decimal format, with the "Result: " prefix, in a line by itself, with at most 10 decimal digits.
This means it should adhere to this regex:
Result: ((\d*(\.\d{1,10})?)|NaN)
Only the last result line will be evaluated, you are allowed to produce multiple "Result" lines matching this format before the last one without being penalized. If the expression is undefined (for example division by 0) output "Result: NaN"
For example all the following lines are valid:
Result: 1153.754
Result: 354
Result: 0
Result: 1
Result: NaN
The following lines are NOT:
Result: .35
Result: 1.
Result: .
Result:
If you are unable to find the exact result, try finding a result that's as numerically close as possible to the actual result.
The math expression you are asked to evaluate is the following:
(7)*(5)-(2)
Now begin working.