C++作业

#include <iostream>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<a<<" + "<<b<<" = "<<a+b<<endl;
system("pause") ;
return 0;
}

#include<iostream>
using namespace std;
int main()
{
cout<<"hello£¬gdufs£¡"<<endl;
system("pause");
return 0;
}

#include <iostream>

using namespace std;

int main()

{

cout<<"     *     "<<endl;

cout<<"    ***    "<<endl;

cout<<"   *****   "<<endl;

cout<<"  *******  "<<endl;

cout<<" ********* "<<endl;

cout<<"    ***    "<<endl;

cout<<"    ***    "<<endl;

    system("pause");

return 0;

 } 

posted @ 2020-10-11 21:31  涂一波  阅读(31)  评论(0编辑  收藏  举报