2020年3月20日 星期五

1.1-Pattern_Output-lab

程式碼:
#include <iostream>
using namespace std;

int main() {
 cout << "       *" << endl;
 cout << "      *" << endl;
 cout << "     *" << endl;
 cout << "*   *" << endl;
 cout << " * *" << endl;
 cout << "  *" << endl;
    return 0;
}

沒有留言:

張貼留言