Owl Get a Life
ntuc.cpp: In function ‘int main()’:ntuc.cpp:21:14: error: ‘i’ was not declared in this scope 21 | cost += k*p[i]; | ^