- 小學生C++編程課堂(新手篇)
- 邱永忠
- 82字
- 2023-11-20 19:30:11
例1.1 輸出一個星號三角形
題目描述 在屏幕上輸出如圖1-16所示的星號三角形。

圖1-16 星號三角形
程序代碼

注意
要用兩組“<<”才能將兩個不同的部分連接起來,寫成下面的語句形式是錯誤的。

推薦閱讀
- Instant Node Package Manager
- ASP.NET Web API:Build RESTful web applications and services on the .NET framework
- Redis入門指南(第3版)
- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- HoloLens Beginner's Guide
- C語言程序設(shè)計基礎(chǔ)與實驗指導
- jQuery EasyUI網(wǎng)站開發(fā)實戰(zhàn)
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- R的極客理想:工具篇
- Linux命令行與shell腳本編程大全(第4版)
- MATLAB for Machine Learning
- C語言開發(fā)基礎(chǔ)教程(Dev-C++)(第2版)
- Appcelerator Titanium:Patterns and Best Practices
- Learning Unity Physics
- 深入解析WPF編程