![img]( https://img-// Code file created by C Code Develop
#include "ccd.h"
#include "stdio.h"
#include "stdlib.h"
int main(int argc, char **argv)
{
char ch;
printf("give me a letter of the alphabet,and i will give");
printf("an animal name\nbeginning with that letter") ;
printf(" please type in a letter;type # to end it\n");
while((ch = getchar()) != '#')
{
if(ch == '\n')
continue;
if('a' <= ch&&ch <= 'z')
switch (ch)
{
case'a':
printf("argali,hhhh\n");
break;
case'b':
printf("babirusa,hhh\n");
break;
case'c':
printf("coati,hhhh\n");
break;
case'd':
printf("desman,hhhh\n");
break;
case'e':
printf("echidna,hh\n");
break;
case'f':
printf("fisher,hhh\n");
break;
dafault:
printf("that's a stumper\n");
}
else
printf("i don't know\n");
while(getchar() != '\n')
continue;
printf("please type another letter or a #");
}
printf("bye\n");
return 0;
}
.cn/release/static/image/mid/ask/263781122926159.png 'CCDAD01D-C7C4-4D7C-B80E-49675934A520.png')