What's the best way to turn some spaced integers to an array in C using getchar()? Given the max no of elements = 5

后端 未结 0 1832
陌清茗
陌清茗 2021-02-05 01:40

Problem: To turn spaced integers into an array of size 5. If there are less than five elements, make the remaining 0.

The input consists of positive integers only and is

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