조건문_2020.10.26
·
BootCamp_Codestates/Pre Tech Blog
Achievement Goals truthy와 falsy 가 조건문에서 작동하는 방식을 이해할 수 있다. 논리 연산자에 대해 이해할 수 있다. if 와 else if , else를 이해하고 무리없이 활용할 수 있다. 복잡한 조건문을 활용하여 실생활에서 쉽게 마주할 수 있는 문제를 해결할 알고리즘을 짤 수 있다. if문 if ( condition1 ) { statement1 } condition1을 만족하면 statement1을 실행한다. if~else문 if ( condition1 ) { statement1 } else { statement2 } condition1을 만족하면 statement1을 실행하고, 만족하지 않으면 statement2를 실행합니다. 다중if문 if ( condition1 ) { ..