标题:找三个问题 并解决
取消只看楼主
wangwufeng19
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2007-7-4
 问题点数:0 回复次数:1 
找三个问题 并解决

void main(){
int a=15
float b=138.3576278;
double c=35648256.3645687;
char d='p';
printf("a=%d,%5d,%o,%x\n",a,a,a,a);
printf("b=%f,%lf,%5.4lf,%e\n",b,b,b,b);
printf("c=%lf,%f,%8.4lf\n",c,c,c);
printf("d=%c,%8c\n",d,d);
} a<--15
b<--35648256.3645687
d<--'p'

main()
{
int a=29;
float b=1243.2341;
double c=24212345.24232;
char d='h';
printf("a=%d,%5d,%o,%x\n",a,a,a);
printf("b=%f,%lf,%5.4lfm%e\n",b,b,b,b);
printf("%lf,%f,%8.4lf\n",c,c,c);
printf("d=%c,%8c\n",d,d);
]

搜索更多相关主题的帖子: double 
2007-07-04 01:41
wangwufeng19
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2007-7-4
得分:0 
2007-07-04 01:45



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




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

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