Problem ntuc
User MCSG
Submission Time 2025-06-19 11:22:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ntuc.cpp: In function ‘int main()’:
ntuc.cpp:15:17: error: expected ‘;’ before ‘cout’
15 | price=x*nam[c]
| ^
| ;
16 | cout<<price<<endl;
| ~~~~
ntuc.cpp:17:1: error: expected ‘}’ at end of input
17 | }
| ^
ntuc.cpp:5:14: note: to match this ‘{’
5 | signed main(){
| ^