0_0_39352909_5038.cpp: In function 'int main()': 0_0_39352909_5038.cpp:24:47: error: 'val' was not declared in this scope 24 | prod = prod * val; | ^~~