C语言编程2

来源:互联网 发布:python爬取微信朋友圈 编辑:程序博客网 时间:2024/05/28 01:36

#include<stdio.h>

main()

{

       char   c;

       c=getchar(f);

       if(c=='Y'||c=='y')

      printf("Continue");

      else 

              if(c=='N'||c=='n')

              printf("Stop");

              else

                      printf("Enter   Error ,Retry!");

}


原创粉丝点击