如下C++格式化输出代码的运行结果正确的是?
已知如下C++代码片段:
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
double pi = 3.1415926;
cout << setw(10) << left << setprecision(3) << pi << "test";
return 0;
}
该程序的输出结果为?
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析