标题:点解我的C语言运行不到~~请大家看看!错在那里~
取消只看楼主
PJJ
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2004-6-8
 问题点数:0 回复次数:0 
点解我的C语言运行不到~~请大家看看!错在那里~

点解会运行不到~~~

题目;比较两个分数的大小

main() { int za,mb,zc,md; double p,q; printf("please input the number p of za/mb:\n"); scanf("%d%d",&za,&mb); p=za/mb; printf("please input the number q of zc/md:\n"); scanf("%d%d",&zc,&md); q=zc/md; if(p>q) printf("the bigger one is %d/%d",za,mb); else printf("the bigger one is %d/%d",zc,md); printf("\n"); }

搜索更多相关主题的帖子: C语言 运行 
2004-06-08 21:54



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-2199-1-1.html




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

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