首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
有如下程序#include <iostream>#include <iomanip>using namespace std;int main( ){cout<<setprecision(3)<<fixed<<setfill(’*’)<<setw(8);co
有如下程序#include <iostream>#include <iomanip>using namespace std;int main( ){cout<<setprecision(3)<<fixed<<setfill(’*’)<<setw(8);co
admin
2009-01-15
80
问题
有如下程序#include <iostream>#include <iomanip>using namespace std;int main( ){cout<<setprecision(3)<<fixed<<setfill(’*’)<<setw(8);cout<< 12.345 <<___________ <<34.567;return 0;}若程序的输出是: **12.345**34.567则程序中下划线处遗漏的操作符是( )。
选项
A、setprecision(3)
B、fixed
C、setfill(’*’)
D、setw(8)
答案
8
解析
转载请注明原文地址:https://kaotiyun.com/show/lckp777K
本试题收录于:
二级C题库NCRE全国计算机二级分类
0
二级C
NCRE全国计算机二级
相关试题推荐
若有以下程序#include<stdio.h>main(){inta=0,b=0,c=0;c=(a-=++a),(a+=b,b+=4);printf("%d,%d,%d\n",a,b,c);}则程序的输出结果是
以下叙述中正确的是
有以下程序#include<stdio.h>#include<string.h>StructA{inta;charb[10];doublec;};structAf(structAt);main(){struc
当变量C的值不为2、4、6时,值也为“真”的表达式是
在数据库中,数据模型包括数据结构、数据操作和
以下叙述中错误的是
以下不能定义为用户标识符是
某系统结构图如下图所示,该系统结构图的最大扇人数是()。
结构化程序由顺序、选择、循环三种基本结构组成,以下相关叙述错误的是
在黑盒测试方法中,设计测试用例的主要根据是()。
随机试题
关于循环控制语句,描述不正确的是
领导权力
面赤、口苦、脉数,病多在( )面青、喜食酸味、脉弦,病多在( )
患者男性,23岁。上腹部汽车撞伤4小时,患者面色苍白,四肢湿冷,血压70/40mmHg。心率146次/分,全腹轻压痛、反跳痛与肌紧张,肠鸣音减弱,最町能的诊断是
下列关于脚手板的设置说法中,错误的是()。
假如单位来了一位新领导,你负责带新领导视察工作,你会如何做好这项工作?
求.
下列叙述中错误的是
•Readthearticlebelowaboutexpectationsincross-culturalnegotiations.•ChoosethebestwordtofilleachgapfromA,B,Co
FillingintheInsuranceGapforAdultChildrenA)TamarZaidenweber,a24-year-oldgraduatestudentatGeorgetownUniversity,lo
最新回复
(
0
)