WEEK7 -1(1)

来源:互联网 发布:cf凌哥刷枪软件 编辑:程序博客网 时间:2024/05/16 23:51
 要求每个元素的值通过scanf输入,输入完成后, 1)请顺序输出这些整数,
/* Note:Your choice is C IDE */#include "stdio.h"main(){    int a[10];    int i;    for(i=0;i<10;i++)    scanf("%d",&a[i]);    printf("your input is :");    for(i=0;i<10;i++)       printf("%d ",a[i]);}

0 0