打印表头函数

#include<iostream>

using namespace std;

 

void TableHead();          //声明打印表头函数

 

int main(){

         TableHead();           //调用打印表头函数

        

         system("pause");

         return 0;

}

扫描二维码关注公众号,回复: 3261642 查看本文章

 

void TableHead(){

         cout<<'\t'<<"****************"<<'\t'<<endl;

         cout<<'\t'<<"     example    "<<'\t'<<endl;

         cout<<'\t'<<"****************"<<'\t'<<endl;

}

猜你喜欢

转载自www.cnblogs.com/huoyuying/p/9672123.html