In function 'int main()':
6:3: error: expected ',' or ';' before 'cout'
6 | cout << x;
| ^~~~