We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31af2af commit 04b9c94Copy full SHA for 04b9c94
1 file changed
SolveMeFirst.java
@@ -0,0 +1,30 @@
1
+/* Lol this was just a warm up problem. I won't even write the problem
2
+* statement for it.
3
+*/
4
+import java.io.*;
5
+import java.util.*;
6
+import java.text.*;
7
+import java.math.*;
8
+import java.util.regex.*;
9
+
10
+public class SolveMeFirst
11
+{
12
+ static int solveMeFirst(int a, int b)
13
+ {
14
+ // Hint: Type return a+b; below
15
16
+ return a + b;
17
+ }
18
19
+ public static void main(String[] args)
20
21
+ Scanner in = new Scanner(System.in);
22
+ int a;
23
+ a = in.nextInt();
24
+ int b;
25
+ b = in.nextInt();
26
+ int sum;
27
+ sum = solveMeFirst(a, b);
28
+ System.out.println(sum);
29
30
+}
0 commit comments