int main()
{
clrscr();
int option;
do
{
//Displaying Options for the menu
cout << "1) 5 "<<(char)156<<" working hours" << endl;
cout << "2) 7 "<<(char)156<<"working hours " << endl;
cout << "3) 9 "<<(char)156<<" working hours" << endl;
cout << "4) working hours3 " << endl;
cout << "5> exit"<< endl;
//Prompting user to enter an option according to menu
cout << "Please select an option : ";
cin >> option; "option"
return 0;
}
My target is option ==1 >> "7£ working hours>>Þ bonus =1000"
Please help me, i would like to display char(222) in output screen as Þ
But,it's not showing correctly. If there something need to add or changes else,
waiting your help.
Remember you are printing to a console - it might not be able to display that character, or it might have another symbol associated with that character. However, it should look correct if you printed it to a file and opened that file in a text editor.