聖誕節快樂!!!
¶聖誕節快樂!!!
原文連結: https://darkblack01.blogspot.com/2014/12/blog-post_26.html
移植時的最後更新日期: 2015-12-23T14:16:57.659+08:00
軟體工程師的浪漫呀~~ 
http://codepad.org/
貼上,選C++
#include <iostream>
using namespace std;
int main()
{
    const int hTree = 50;
    const int wTree = hTree/2;
    for (int ih = 0; ih < hTree; ++ih)
    {
        int shift = ih/83;
        for (int i = 0; i < hTree - ih + shift; ++i)
            cout << " ";
        for (int i = 0; i < ih+ih+1 - shift2; ++i)
            cout << “*”;
        cout << endl;
    }
    return 0;
}
                發表於 
                
            
            
                
                    tags:
                    
  
  { C_and_Cpp }