Problem greeting
User TingAn1212
Submission Time 2024-02-21 14:49:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

greeting.cpp:6:25: error: stray ‘\342’ in program
6 | cout << name << " " << ”ni hao, xin nian kuai le!";
| ^
greeting.cpp:6:26: error: stray ‘\200’ in program
6 | cout << name << " " << ”ni hao, xin nian kuai le!";
| ^
greeting.cpp:6:27: error: stray ‘\235’ in program
6 | cout << name << " " << ”ni hao, xin nian kuai le!";
| ^
greeting.cpp:6:53: error: missing terminating " character
6 | cout << name << " " << ”ni hao, xin nian kuai le!";
| ^~
greeting.cpp: In function ‘int main()’:
greeting.cpp:6:28: error: ‘ni’ was not declared in this scope
6 | cout << name << " " << ”ni hao, xin nian kuai le!";
| ^~