利用if else语句

我在输出不同结果时,运用许多个if else语句完成结果。但我觉得有点麻烦,我应该寻找另一种方法去解决问题。

posted @ 2025-04-04 14:09  [$yA][$yAr  阅读(7)  评论(0)    收藏  举报