C语言精句汇总
慢慢的日积月累吧!先发一下先,学到好的再往下接。
while(putchar(getchar())!=’.’);
将输入的字符串输出,当遇到.时退出。
while(c=getchar()) !=’Y’ || c!=’y’ || c!=’N’ || c!=’n’
当c接收到的字符为y、Y、N、n时停止接收字符。
捐赠本站(Donate)
如您感觉文章有用,可扫码捐赠本站!(If the article useful, you can scan the QR code to donate))
- Author: shisekong
- Link: https://blog.361way.com/jhui/428.html
- License: This work is under a 知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议. Kindly fulfill the requirements of the aforementioned License when adapting or creating a derivative of this work.