S002_Addition 계산

Posted by PeEn
2019. 5. 14. 10:59 Programing/Java
  1. 소스코드
    package kr.ac.jj.Java201562054;
    
    import java.util.Scanner;
    
    public class S002_Addition {
    
    	public static void main(String[] args) {
    		// TODO Auto-generated method stub
    		Scanner scan = new Scanner(System.in);
    		int a = scan.nextInt();
    		int b = scan.nextInt();
    		int c = a+b;
    		System.out.println("합은"+c);
    	}
    
    }