搜索
编程论坛
→
开发语言
→
『 C语言论坛 』
→ 我想请问一下这个问题。我是照着书上编辑的怎么就和书上出出来的不一样
标题:
我想请问一下这个问题。我是照着书上编辑的怎么就和书上出出来的不一样
取消只看楼主
w345188537
等 级:
新手上路
帖 子:7
专家分:5
注 册:2012-10-17
结帖率:
100%
楼主
已结贴
√
问题点数:20 回复次数:0
我想请问一下这个问题。我是照着书上编辑的怎么就和书上出出来的不一样
#include <stdio.h>
#include <math.h>
int main()
{
int a,b,c,max;
scanf("%d,%d,%d",&a,&b,&c);
if(a>b)
max=a;
else
max=b;
if(c>max)
max=c;
printf("max:%d\n",max);
return 0;
}
搜索更多相关主题的帖子:
return
include
max
2012-11-01 13:40
1
1/1页
1
参与讨论请移步原网站贴子:
https://bbs.bccn.net/thread-385473-1-1.html
关于我们
|
广告合作
|
编程中国
|
清除Cookies
|
TOP
|
手机版
编程中国
版权所有,并保留所有权利。
Powered by
Discuz
, Processed in 1.093759 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved