Java How to get 0 as denominator to show in rational class

前端 未结 0 1993
半阙折子戏
半阙折子戏 2021-01-04 13:25

Right now, when running my Rational program I get a 1 when creating a new rational with the numerator being 2 and denominator being 0, and my teacher wants me to replace the

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