Language_Coder 510 : 입력 - 자가진단2

boom.jun.cho·2022년 3월 14일
0

Language_Coder_JUNGOL

목록 보기
15/197

문제

정수형 변수 2개를 선언하여 -1과 100을 대입한 후 아래와 같이 출력하는 프로그램을 작성하라.

출력

-1
100

코드

package com.jungol.algorithm015;

public class Main {
    public static void main(String[] args) {
    	int a = -1;
    	int b = 100;
    	
    	System.out.println(a);
    	System.out.println(b);
    }
}
profile
하루하루 최선을

0개의 댓글