i don’t know what’s wrong with the code
the code:
“
<code>#include <iostream>
using namespace std;
int main() {
cout << "u062E" << endl;
cout << "خ" << endl;
cout << "خالد" << endl;
return 0;
}
</code>
<code>#include <iostream>
using namespace std;
int main() {
cout << "u062E" << endl;
cout << "خ" << endl;
cout << "خالد" << endl;
return 0;
}
</code>
#include <iostream>
using namespace std;
int main() {
cout << "u062E" << endl;
cout << "خ" << endl;
cout << "خالد" << endl;
return 0;
}
the output:
<code>خ
خ
خالد
</code>
<code>خ
خ
خالد
</code>
خ
خ
خالد
the expected output:
خ
خ
خالد
[the code and the output] (https://i.sstatic.net/84IOD4TK.png)
my vscode is on defualt UTF-8 so i dont know whats wrong with it
New contributor
khalidaman955 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.