C++
x
13
1
2
using std::cout;
3
using std::endl;
4
5
int main(void) {
6
int fx[4] = {6, 0, 0, 2};
7
8
int part1 = fx[0] * fx[3];
9
cout << fx[0] << endl;
10
cout << fx[3] << endl;
11
cout << part1;
12
}
13
$ g++ prog.cc -Wall -Wextra -std=c++11 -pedantic
Start
6 2 12
0
Finish