2023.DEC.07(THU) JAVA DAY4
โ Daily Report
๐ TO-DO LIST
- submit github blog post
- study yalco if, for
- lesson 16
- assigment: movie alert program using if and age
โ Today I Learned
โ๏ธ if in java
โ๏ธ switch
switch(condition to look for) & case(same datatype) & break & default
โ๏ธ for
โ๏ธ for each in array
for(num: arrayName)
โ๏ธ continue
๊ทธ ์กฐ๊ฑด ๋ฃจํ๋ง ๋ฐ์ด๋๊ธฐ
โ๏ธ break
๊ทธ ๋ฃจํ ์ ์ฒด ์ข ๋ฃ
โ๏ธ while
โ๏ธ do while
์ผ๋จ ์คํํ๊ณ , ์กฐ๊ฑด ๋์ค์ ํ์ธ
๐ Trouble Shooting
๐ด Trouble
for๋ฌธ์ while๋ฌธ์ผ๋ก ๋ฐ๊พธ๋ ๊ฒ์ด ์ด๋ ค์ ๋ค.
๋ ๋ณ์ 1~5๊น์ง ์์๋๋ก ์ถ๋ ฅํ๋ ๊ฒ๊ณผ ๊ทธ ๋ฐ๋๋ก ์ถ๋ ฅํ๋ ์ฝ๋๊ฐ ์ด๋ ค์ ๋ค.
ํ์ง๋ง ๊ฒฐ๊ตญ ํด๊ฒฐํด์ for์ฑํฐ์ ๋ฃ์ด๋์์!
This post is licensed under CC BY 4.0 by the author.