https://www.tutorialspoint.com/cprogramming/c_decision_making.htm

[ C – Decision Making ]

Show below is the general form of a typical decision making structure found in most of the programming languages −

1.png

2.png

※ if는 Keyword임 <- Visual Studio에서 나오는 색깔을 보니

if statement

if(boolean_expression) {

/* statement(s) will execute if the boolean expression is true */

}