格式化输出(常量练习)
Description
用c语言的基本输出格式打印下列内容:
100
A
3.140000
Input
本题目没有输入数据
Output
输出三行数据:
100
A
3.140000
Sample
Output
100
A
3.140000
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main()
{
cout<<setiosflags(ios::fixed);
cout<<"100"<<endl;
cout<<"A"<<endl;
cout<<"3.140000"<<endl;
return 0;
}