You are viewing a single comment's thread. Return to all comments →
my Java 8 COde:
import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static int solveMeFirst(int a, int b) { // Hint: Type return a+b; below return a+b; } public static void main(String[] args) { Scanner in = new Scanner(System.in); int a; a = in.nextInt(); int b; b = in.nextInt(); int sum; sum = solveMeFirst(a, b); System.out.println(sum); } }
Seems like cookies are disabled on this browser, please enable them to open this website
Solve Me First
You are viewing a single comment's thread. Return to all comments →
my Java 8 COde: