33 - Create an Array Using Loops
2018-01-01 本文已影响0人
社交帐号直接注册
#include <iostream>
using namespace std;
int main()
{
int bucky[9];
cout << "ELEMENT - VALUE" << endl;
for(int x = 0; x<=8; x++)
{
bucky[x] = 99;
cout << x << " ---- " << bucky[x] << endl;
}
}