Pagini recente » Cod sursa (job #2723947) | Cod sursa (job #1132148) | Cod sursa (job #2080150) | Cod sursa (job #1549741) | Cod sursa (job #1382150)
package adunare;
import java.io.*;
import java.util.*;
public class Adunare {
public static void main(String[] args) throws IOException{
InputStream is = new FileInputStream("adunare.in");
OutputStream os = new FileOutputStream("adunare.out");
Scanner s = new Scanner(is);
PrintStream w = new PrintStream(os);
int x = s.nextInt();
int y = s.nextInt();
w.print(x+y);
}
}