跳轉至內容
Main menu
Main menu
move to sidebar
hide
Navigation
Main Page
Help
Browse
Cookbook
Wikijunior
Featured books
Recent changes
Random book
Using Wikibooks
Community
Reading room forum
Community portal
Bulletin Board
Help out!
Policies and guidelines
Contact us
Search
Search
Donations
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Discussion for this IP address
目錄
移動到側邊欄
隱藏
開始
1
基本數學測試程式
切換基本數學測試程式子節
1.1
程式規範
切換目錄
Rust 新手程式設計師/基本數學測試程式
Add languages
Add links
Book
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Sister projects
Wikipedia
Wikiversity
Wiktionary
Wikiquote
Wikisource
Wikinews
Wikivoyage
Commons
Wikidata
MediaWiki
Meta-Wiki
Print/export
Create a collection
Download as PDF
Printable version
In other projects
外觀
移動到側邊欄
隱藏
來自華夏公益教科書,開放的書籍,開放的世界
<
Rust 新手程式設計師
基本數學測試程式
[
編輯
|
編輯原始碼
]
學習的最佳方法是實踐!
讓我們深入一個程式,這樣我們就可以進行邏輯思考。
程式規範
[
編輯
|
編輯原始碼
]
程式將打印出一個簡單的數學問題,使用者進行回答。
它將是一個命令列程式,這意味著它全部在終端中執行。這與 GUI 程式相反,GUI 程式可能更常見,它們使用 GUI(圖形使用者介面)。
數學問題最初將只是一個簡單的加法或減法。
我們還可以進行更多規劃,但現在,
讓我們開始吧。
類別
:
書籍:Rust 新手程式設計師
華夏公益教科書