| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 572 人关注过本帖
标题:求助帮帮我谢谢
只看楼主 加入收藏
buio
Rank: 1
等 级:新手上路
帖 子:27
专家分:0
注 册:2004-8-5
收藏
 问题点数:0 回复次数:6 
求助帮帮我谢谢

第1题

a=b=c=0;

x=35;

if(!a) x--;

else if(b)

if(c) x=3;

else x=4;

问X输出结果

第2题

for(x=0,y=0;(y!=123)||(x<4);x++)

循环次数

第3题

a=1;b=1;

do{b==a;a++;}

while(b--<0)

b的值

第4题

for(y=1;x=1;y<=10;y++0)

{if(x>=10)break;

if(x%2==1) (x+=5;contine)

x-=3

}

Y的循环次数

[此贴子已经被作者于2004-08-06 21:13:36编辑过]

2004-08-06 19:34
hu_sir
Rank: 1
等 级:新手上路
帖 子:208
专家分:0
注 册:2004-4-29
收藏
得分:0 

(1)X=34;

(2)无限次

(3)-2

(4)6次

2004-08-06 21:26
weixiaohe
Rank: 1
等 级:新手上路
帖 子:25
专家分:0
注 册:2004-8-6
收藏
得分:0 

我昏,这个是表达式,自己算就行了

2004-08-06 21:56
指向指针的指针
Rank: 1
等 级:新手上路
帖 子:339
专家分:0
注 册:2004-8-8
收藏
得分:0 
#include &lt;stdio.h&gt;
main() {
int x,y,k;
k=0;
getch();
for(x=0,y=0;(y!=123)||(x&lt;4);x++)
{k++};
printf("%d",x);
getch();
}
这是我做的第二题,为什么一运行屏幕上面什么符号都没有?????????????????????

/sign.png" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://www./sign.png');}" onmousewheel="return imgzoom(this);" alt="" />
2004-08-08 18:07
指向指针的指针
Rank: 1
等 级:新手上路
帖 子:339
专家分:0
注 册:2004-8-8
收藏
得分:0 
#include &lt;stdio.h&gt;
main() {
int a,b;
a=1;b=1;
do{b==a;a++;}
while(b--&lt;0);
printf ("%d%d"a,b);
getch();
}
这是俺作的第3题,也不知道怎么的不对头?根本没法运行,说第7行5行有问题!

[此贴子已经被作者于2004-08-08 18:15:22编辑过]



/sign.png" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://www./sign.png');}" onmousewheel="return imgzoom(this);" alt="" />
2004-08-08 18:14
深蓝幻想
Rank: 1
等 级:新手上路
帖 子:104
专家分:0
注 册:2004-8-6
收藏
得分:0 

第一体是不是有毛病啊?

我咋看着没有输入语句阿?

if(!=a)

谁不等于a 啊?


!~!~!深蓝幻想,幻想深蓝!~!~! Qq:1235531
2004-08-08 18:25
zhou
Rank: 1
等 级:禁止发言
帖 子:429
专家分:0
注 册:2006-6-16
收藏
得分:0 
提示: 作者被禁止或删除 内容自动屏蔽
2008-03-30 13:35
快速回复:求助帮帮我谢谢
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018593 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved