Exception/throw handling, how can I throw an integer value when the calculation is over or under a certain amount?

前端 未结 0 917
渐次进展
渐次进展 2020-12-03 05:24

Here is what I have in my program so far, If Celsius is under 100 it should throw integer value of 1, if the Celsius is above 100, it should throw the integer 2.

He

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