0_0_38027574_1017.cpp: In function 'int main()': 0_0_38027574_1017.cpp:26:19: error: 'k' was not declared in this scope cout << b[i] * k << ' '; ^