I am currently trying to make a code that prints out a certain String depending on the number inputted

后端 未结 0 1409
执念已碎
执念已碎 2021-02-15 20:46

String dead = (age < 92) ? "Dead" : "Alive"; Does this print out Alive or Dead when the number is either less than or greater than 92?

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