Pagini recente » Cod sursa (job #2141488) | Cod sursa (job #1558416) | Cod sursa (job #2630975) | Cod sursa (job #1538875) | Cod sursa (job #1537131)
package adunare;
import java.io.*;
import java.util.*;
/**
*
* @author Gabriel
*/
public class Main {
/**
* @param args the command line arguments
* @throws java.io.FileNotFoundException
*/
public static void main(String[] args) throws FileNotFoundException {
Scanner fin = new Scanner(new FileInputStream("F:\\Temp\\adunare.in"));
PrintStream fout = new PrintStream("F:\\Temp\\adunare.out");
int x, y;
x = fin.nextInt();
y = fin.nextInt();
fout.println(x+y);
}
}