잡담

세상에서 제일 어려운게 여자 같다.

청정뉴스 홈페이지 공사중 2021. 10. 15. 04:33
728x90
반응형
SMALL

public class Test {

public static void main(String[] args) {

int computer = 100;
int woman = 2013957235;

if(woman>=computer) {
System.out.println("나도 그렇게 생각해");
}

}

}

 

 

봐라 컴퓨터도 그렇게 생각한다고 한다.

 

 

2. 

 

package Test00;

import java.util.Scanner;

public class Test00 {

public static void main(String[] args) {

 

String kind;
Scanner sc = new Scanner(System.in);

 

int woman = 200;

 

System.out.print("종목입력: ");

kind = sc.nextLine();

System.out.print("난이도입력: ");

int hard = sc.nextInt();

 

if(woman>hard) {
System.out.println(kind+"보다 여자가 어렵습니다.");
}
else {
System.out.println("그래봤자 여자가 무조건 더 어렵습니다.");
}


}

}

 

더를 빼먹었다.

 

 

코딩놀이 - kakaoTV

 

728x90
반응형
LIST