回复 楼主 金芮知岐
最近刚好编一个,送你了
int main(int argc, char** argv)
{ char c;
printf("Please enter a or b or c to test your feelings for me A love B not C don't know:");
scanf("%c",&c);
if(c=='a')
printf("And I love you forever\n");
else if(c=='b')
printf("I will continue to protect you\n");
else if(c=='c')
printf("I will show you that I love you\n");
else
printf("This option is not available and I kissed you\n");
return 0;
}