Create a conditional expression that evaluates to string “negative” if user_val is less than 0, and “non-negative” otherwise

前端 未结 0 1892
旧巷少年郎
旧巷少年郎 2021-02-13 09:00

Create a conditional expression that evaluates to string "negative" if user_val is less than 0, and "non-negative" otherwise. Sample output with inpu

相关标签:
回答
  • 消灭零回复
提交回复
热议问题