Pagini recente » Cod sursa (job #1293468) | Monitorul de evaluare | Cod sursa (job #315052) | Clasament dupa rating | Cod sursa (job #1704064)
package aplusb;
import java.util.*;
import java.io.*;
/***
*
* @author Patrick
*
*/
public class Main {
public static void main(String[] args) throws FileNotFoundException {
Scanner scanner = new Scanner(new BufferedInputStream(new FileInputStream("adunare.in")));
int A = scanner.nextInt(), B = scanner.nextInt();
PrintStream output = new PrintStream(new FileOutputStream("adunare.out"));
output.println(A + B);
}
}