mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 08:46:53 +08:00
9 lines
123 B
ChaiScript
9 lines
123 B
ChaiScript
var x = -(1 + 2 - 3 * 4 / 2)
|
|
print("Answer: " + x.to_string())
|
|
|
|
if (x >= 2 && x <= 4) {
|
|
print("x is between 2 and 4")
|
|
}
|
|
|
|
|