0_0_33218766_23243.cpp: In function 'int count(int)':
0_0_33218766_23243.cpp:16:19: error: 'n' was not declared in this scope
num = 4 * count(n - 2) - count(n - 4);
^
0_0_33218766_23243.cpp: In function 'int main()':
0_0_33218766_23243.cpp:23:9: error: 'cin' was not declared in this scope
while (cin >> n && n != -1) {
^
0_0_33218766_23243.cpp:25:3: error: 'cout' was not declared in this scope
cout << num1 << endl;
^
0_0_33218766_23243.cpp:25:19: error: 'endl' was not declared in this scope
cout << num1 << endl;
^
|