#include<iostream>
using namespace std;
int main()
{
int english,chinese,math,cPlusPlus;
english=99;
chinese=89;
math=90;
cPlusPlus=100;
cout << "李明同学的考试成绩如下:" << endl << endl;
cout<<"英语"<<'\t'<<"语文"<<'\t'<<"数学"<<'\t'<<"C++"<<endl;
cout <<english<< '\t' << chinese<< '\t' <<math<< '\t' <<cPlusPlus<< endl;
cout << endl;
return 0;
}
7.对齐输出李明同学的三门课成绩
最新推荐文章于 2024-07-15 13:32:43 发布