#include<iostream>
using namespace std;
void printstar(){
cout<<"************************"<<endl;
}
void show(){
cout<<"welcome to c++ world!"<<endl;
}
int main(){
printstar();
show();
printstar();//函数调用
system("pause");
return 0;
}
例题4-1
最新推荐文章于 2021-02-08 21:22:42 发布