#C02L01P03. C02.L01.一维数组初步认识.填空题1.一维数组的输入
C02.L01.一维数组初步认识.填空题1.一维数组的输入
题目描述
读入n个数到一个数组中。
输入格式
第 1 行一个数 n ( n < 100 )
第 2 行有 n 个整数
输出格式
无
样例
5
5 20 19 6 4
程序填空
#include<bits/stdc++.h>
using namespace std;
int n,a[101];
int main()
{
cin>> 填空(1) ;
for(int i=1;i<= 填空(2); i++)
cint>> 填空(2) ;
return 0;
}
填空(1):{{ input(1) }}
填空(2):{{ input(2) }}
填空(3):{{ input(3) }}
相关
在以下作业中: