33.从键盘输入一个非负整数n,若为奇数,输出“Odd”;若为偶数,输出“Even”。
#includevoid main( ){int n;scanf(″%d″,&n);if(nelse if(n%2==0) printf(″Even\n″);else printf(″Odd\n″);}
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/443068.html
上一篇:Some Southern learners of English in China tend to say “night” as “light”.This shows:
下一篇:隐性课程