Pagini recente » Cod sursa (job #1432472) | Cod sursa (job #42421) | Cod sursa (job #1430772) | Cod sursa (job #1453617) | Cod sursa (job #1430941)
/*
* 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.
*/
/**
*
* @author livv
*/
import java.util.*;
import java.io.*;
public class Main {
public static void main(String [] args) throws IOException
{
int a,b;
Scanner s=new Scanner(new FileInputStream("adunare.in"));
a=s.nextInt();
b=s.nextInt();
FileWriter out=new FileWriter("adunare.out");
out.write((a+b));
out.close();
}
}