#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;
}
}
#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;
}
}
本文标题:33 - Create an Array Using Loops
本文链接:https://www.haomeiwen.com/subject/uoexnxtx.html
网友评论