6.3 程序改错题
来源:互联网 发布:顺德容桂电商美工助理 编辑:程序博客网 时间:2024/05/17 02:01
#include <stdio.h>#include <stdlib.h>int main(){ int x=1,find=0; while (!find) { if(x%2==1&&x%3==2&&x%5==4&&x%6==5&&x%7==0) { printf("x=%d\n",x); find=1; } x++; } return 0;}
总结:while的后面没有“;”。 在c语言程序中“等于”的符号是“==”。“x++”的位置应如上述位置。
阅读全文
0 0
- 6.3程序改错题
- 6.3 程序改错题
- 6.3程序改错题
- 习题6.3,程序改错题
- 6.3程序改错
- 6.3程序改错
- 习题6.3程序改错
- 程序改错题
- 程序改错题(求助)
- 程序改错
- 程序改错
- 程序改错
- 程序改错
- 程序改错
- 程序改错
- 程序改错
- 程序改错
- 程序改错
- org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter找不到类问题
- 5.2
- 习题6.3,程序改错题
- PHPCMS V9 实现下拉加载的方法,兼容手机端(附源码下载)
- 解决CentOS7关闭/开启防火墙出现Unit iptables.service failed to load: No such file or directory.
- 6.3 程序改错题
- 原生JS取代一些JQuery方法
- 一个平行四边形
- Jenkins+Maven+Git总结
- http服务
- 深入解析Linux 常用命令--cp
- Oracle:xml和oracle数据库
- if语句的使用
- 【tflearn系列教程】(一)为什么要学tflearn?