1、C语言输入一行未知个数数字存入数组
#include <stdio.h> int main() { int a[100]; int i = 0, j = 0; do { scanf("%d",&a[i]); i++; } while(getchar() != ' '); a[i] = '