Cod sursa(job #2581640)

Utilizator kingofoxyTraian Simedru kingofoxy Data 15 martie 2020 16:10:20
Problema A+B Scor 0
Compilator java Status done
Runda Arhiva de probleme Marime 0.61 kb
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package helloworld;

import java.util.Scanner;

/**
 *
 * @author kingofoxy
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        int a, b;
        
        try(Scanner sc = new Scanner(System.in)) {
            a = sc.nextInt();
            b = sc.nextInt();
        }
        
        System.out.println(a + b);
    }
    
}