This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
viennastar_conversion_tools [2015/03/23 15:35] viennastar |
viennastar_conversion_tools [2015/03/23 15:36] (current) viennastar |
||
---|---|---|---|
Line 27: | Line 27: | ||
is an arithmetic expression with 2 variables called "probability" and "value" | is an arithmetic expression with 2 variables called "probability" and "value" | ||
- | Treat every line in the file as a new expression that is to be evaluated and prompt the user to input a value for each variable that is found (if any), then print the result to the console. | + | Treat every line in the file as a new expression and prompt the user to input a value for each variable that is found (if any), then print the result to the console. |
For example, an input file named expressions.txt containing two lines: | For example, an input file named expressions.txt containing two lines: |