Ruby while loop with integers

后端 未结 0 623
余生分开走
余生分开走 2020-12-23 23:48

Get input for a number < 100, if input is greater then keep looping until you get a correct input. Do a check to see if the number is even or odd, if it\'s even then * 2

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