#include <iostream>
#include <string>
usingnamespace std;
int main()
{
char choice;
cout<<"Periodic Table of Elements: A Simple C++ Game"<<endl;
cout<<"Choose the difficulty of the game:Please enter the corresponding letter of your choice:"<<endl<<'\n'<<"A. Beginner"<<endl<<"B. Intermmediate"<<endl<<"C. Expert"<<endl;
cout<<"Your choice:"; cin>>choice;
switch (choice)
{
case'A':
cout<<"You chose the Beginner level"<<endl;
break;
case'B':
cout<<"You chose the Intermmediate level"<<endl;
break;
case'C':
cout<<"You chose the Expert level"<<endl;
break;
default:
cout<<"Invalid input"<<endl;
}
return 0;
}
}