이전까지 했던 책의 예제들 업로드합니다.
감사합니다.
package ifexample;
public class ifExample1 {
public static void main(String[] args) {
int age = 7;
if(age >= 8) {
System.out.println("학교에 다닙니다.");
}
else {
System.out.println("학교에 다니지 않습니다.");
}
}
}
'JAVA 프로그래밍 > Do it! 자바 프로그래밍 입문' 카테고리의 다른 글
ifexample/SwitchCase.java (0) | 2021.05.12 |
---|---|
ifexample/IfExample2.java (0) | 2021.05.12 |
operator/OperationEx5.java (0) | 2021.05.12 |
operator/OperationEx4.java (0) | 2021.05.12 |
operator/OperationEx3.java (0) | 2021.05.12 |