# C# LAB 02 ## 2022/3/17 --- # 關於新增專案 檔案(左上)>新增>專案 IDE從main開始讀、執行,所以不要把兩題的code寫在同一份專案裡。 (除非你是寫成物件然後在call它,這樣才不會有那種所謂你不能開兩個Visual Studio的問題,不過交作業你還是要拆成兩個所以還是老實做兩個專案吧~~) --- # 討論一下3/10 * 變數宣告 * &(位元) 和 &&(邏輯) Precedence and order of evaluation、Binary、Unary ---- ![](https://i.imgur.com/5sEZr5y.png) --- ![](https://i.imgur.com/idW7SS7.png) * set a default number * try "while" loop * terminate procedure when input isn't greater than 0 ---- ![](https://i.imgur.com/XBbXvqX.png) * use the provided variable name * terminate procedure when input is 0 plz read the questions carefully
{"metaMigratedAt":"2023-06-16T21:12:17.405Z","metaMigratedFrom":"YAML","title":"C# LAB 02","breaks":true,"contributors":"[{\"id\":\"e8b99a7a-8535-4b03-804e-5261758dc68a\",\"add\":1297,\"del\":672}]"}
    404 views
   Owned this note