Pagini recente » Cod sursa (job #2167769) | Cod sursa (job #1289754) | Cod sursa (job #584472) | Cod sursa (job #282718) | Cod sursa (job #1491372)
import java.io.*;
/**
* Created by user on 9/25/2015.
*/
class AplusB {
static public int main(String []args) throws IOException {
BufferedReader in;
BufferedWriter out;
in = new BufferedReader(new FileReader(new File("adunare.in")));
out=new BufferedWriter(new FileWriter(new File("adunare.out")));
int a=Integer.parseInt(in.readLine());
int b=Integer.parseInt(in.readLine());
in.close();
int sum=a+b;
out.write(Integer.toString(sum));
out.close();
return 0;
}
}