How to take n input from user in a single line space separated in runtime automatically and where the n is decided by the user?

前端 未结 0 1556
粉色の甜心
粉色の甜心 2020-12-04 14:13

Example: n = 3 and in run time I should be able to give only three inputs and not above 3 and that to space-separated 2 3 4

Note: The space separation should be done

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