首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
设有定义:float x=123.4567;,则执行以下语句后的输出结果是( )。printf("%f\n",(int)(x*100+0.5)/100.0);
设有定义:float x=123.4567;,则执行以下语句后的输出结果是( )。printf("%f\n",(int)(x*100+0.5)/100.0);
admin
2011-06-13
24
问题
设有定义:float x=123.4567;,则执行以下语句后的输出结果是( )。printf("%f\n",(int)(x*100+0.5)/100.0);
选项
答案
460000
解析
转载请注明原文地址:https://kaotiyun.com/show/yjPp777K
本试题收录于:
二级C语言题库NCRE全国计算机二级分类
0
二级C语言
NCRE全国计算机二级
相关试题推荐
有以下程序:#include<stdio.h>#include<stdlib.h>structNODE{intnum;structNODE*next;};main()
有以下程序:#include<stdio,h>main(){intk=5,n=0;while(k>0){switch(k){default:break;
有以下程序point(char*p){p+=3;}main(){charb[4]={’a’.’b’,’c’,’d’},*p=b;point(p);printf("%c\n",*p)
数据的______结构在计算机存储空问中的存放形式称为数据的存储结构或物理结构。
设有定义:intn,*k=&n;以下语句将利用指针变量k读写变量n中的内容,请将语句补充家整。seanf("%d",【】);printf("%d\n",【】);
有以下程序段intn,t=1,s=0;scanf("%d",&n);do{s=s+t;t=t-2;}while(t!=n);为使此程序段不陷入死循环,从键盘输入的数据应该是
线性表的存储结构主要分为顺序存储结构和链式存储结构。队列是一种特殊的线性表,循环队列是队列的【】存储结构。
问题处理方案的正确而完整的描述称为【】。
问题处理方案的正确而完整的描述称为【】。
问题处理方案的正确而完整的描述称为【 】。
随机试题
李甲与李乙是兄弟俩,李甲18岁,李乙16岁。二人某日到舞厅跳舞,李甲与张某发生口角并打了起来,李乙见状帮其兄打张某。派出所接到报警后民警赶到现场,在了解了情况后对李甲、李乙每人处以50元的罚款。张某不服,认为对李甲、李乙处罚太轻,遂向县公安局申请复议。县公
Excel2000中,使字体变粗的快捷键是
音乐艺术:民歌《茉莉花》
混凝土的耐久性能包括()。
某公司营业杠杆系数为1.5,息税前利润为225万元,资产总额为350万元,资产负债率为35%,综合债务利率为12.5%,公司的所得税税率为25%。预计5年内新增贷款500万元,期限为5年,贷款年利率为13.5%,每年付息一次,筹集费率为0.5%。现在该公司
如图,为了测量楼AB的高度,小明在点C处测得楼AB的顶端A的仰角为30°,又向前走了20米后到达点D,点B、D、C在同一条直线上,并在点D测得楼AB的顶端A的仰角为60°,求楼AB的高.
旅行:交通
简述牙买加体系的主要特点。
Whenshopkeeperswanttolurecustomersintobuyingaparticularproduct,theytypicallyofferitatadiscount.Accordingtoa
A、Watchherpartner.B、Playhercardsincooperationwithherpartner.C、Quitthegame.D、Teachthemanhowtoplaybridge.A女士说
最新回复
(
0
)