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