#include<iostream>
using namespace std;
void showmenu();
int main() {
showmenu();
char ch;
while (true) {
cin >> ch;
switch (ch)
{
case 'c':
cout << "Tiger is carnivore.";
break;
case 'p':
cout << "John is a pianist.";
break;
case 't':
cout << "A maple is a tree.";
break;
case 'g':
cout << "Let's play a game!";
break;
default:
cout << "Please enter c,p,t,or g:";
continue;
}
break;
}
}
void showmenu() {
cout << "Please enter one of the following choices:\n";
cout << "c) carnivore(肉食动物)";
cout.width(30);/