打印表头函数

#include<iostream>

using namespace std;

 

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

 

int main(){

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

        

         system("pause");

         return 0;

}

 

void TableHead(){

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

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

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

}

猜你喜欢

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