【简答题】在下列的程序的横线处填上适当的语句,使该程序的输出为12。 include<iostream> using namespace std; class TestClass { public: int a,b; TestClass(int i,int j) { a=i; b=j; } }; class TestClass1:public TestClass { int a; public: TestC...
【单选题】关于语句#include<iostream>using namespace std;void main(){cout<<100.8989663<<'';com<<fixed<<100.8989663<<'';cout<<scientific<<100.8989663<<'';}的输出结果为( )
A.
100.899 100.898966 1.008990e+002
B.
100.8989663 100.898966 1.008990e+002
C.
100.899 100.898966 1.008989e+002
D.
100.899 100.8989663 1.008989e+002
【单选题】关于语句 #include<iostream> using namespace std; void main( ) { cout < < 100.8989663 < < '; cout < < fixed < < 100.8989663 < <'; cout < < scientific < < 100.8989663 < <';} 的输出结果为
A.
100.899 100.898966 1.008990e+002
B.
100.8989663 100.898966 1.008990e+002
C.
100.899 100.898966 1.008989e+002
D.
100.899 100.8989663 1.008989e+002