你可能感兴趣的试题
switch(x) case1.0:cout<<"*"; case2.0:cout<<"**";switch(x) case 1.2:cout<<"*"; case 3:cout<<"**";switch(a+b) case 1.0:cout<<"*"; case 1+2:cout<<"**";switch(a+b)case 1:cout<<"*"; case 2:cout<<"**";
cout<<internal<<12345; cout<<left<<12345; cout<<right<<12345; cout<<setw(6)<<12345;
switch(x) switch(x)
{ {
case1.0:cout<<"*"; case 1.2:cout<<"*";
case2.0:cout<<"**"; case 3:cout<<"**";
}
C. switch(a+b) D. switch(a+b)
{ {
case 1.0:cout<<"*"; case 1:cout<<"*";
case 1+2:cout<<"** "; case 2:cout<<"**";
cout<<internal<<12345; cout<<left<<12345; cout<<right<<12345; cout<<setw(6)<<12345;
cout<<intemal<<12345; cout<<left<<12345; cout<<right<<12345; cout<<setw(6)<<12345;
cout<<‘’; cout<<‘/12’; cout<<‘/xA’; cout<<‘/0’;
COut<<''; cout<<'/12'; cout<<'/xA'; cout<<'/0';
cout<<setfill('*')<<123<<setw(9)<<321; cout<<setfill('*')<<setw(6)<<left<<123<<setw(6)<<right<<321; cout<<123<<setfill('*')<<setw(6)<<321; cout<<setfill('*')<<setw(9)<<left<<123<<321;
cout<<'' cout<<'/12' cout<<'/xA' cout<<'/0'
switch(x) switch(x) case1.0:cout<<"*"; case 1.2:cout<<"*"; case2.0:cout<<"**"; case 3:cout<<"**"; C. switch(a+b) D. switch(a+b) case 1.0:cout<<"*"; case 1:cout<<"*"; case 1+2:cout<<"** "; case 2:cout<<"**";
cout <<,’’; cout <<,’/12’; cout <<,’/xA’; cout <<,’/0’;