---
# System prepended metadata

title: <h1>松林Java02筆記 2019/11/18</h1>

---

# <h1>松林Java02筆記 2019/11/18</h1>
<h2>
1. code範例
</h2>

a. IFDemo
![](https://i.imgur.com/1k5nKK0.png)
b.遞增遞減
![](https://i.imgur.com/UKQp7fE.png)
c.輸入
![](https://i.imgur.com/lAMd3MR.png)
d.InputDemo1
![](https://i.imgur.com/QrKw5TT.png)
![](https://i.imgur.com/fk6PwnM.png)
<hr>

e.InputDemo2
![](https://i.imgur.com/k7H1Gkf.png)
![](https://i.imgur.com/LLkUmBS.png)
f.ForDemo
![](https://i.imgur.com/LAzTtLZ.png)

g.For2Demo
![](https://i.imgur.com/ORu8yF6.png)
h.WhileDemo
![](https://i.imgur.com/tpXjwow.png)












