updated readme
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// Author: Rodney Shaghoulian
|
||||
// Github: github.com/rshaghoulian
|
||||
// HackerRank: hackerrank.com/rshaghoulian
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Solution {
|
||||
public static void main(String [] args) {
|
||||
/* Save input */
|
||||
Scanner scan = new Scanner(System.in);
|
||||
int a = scan.nextInt();
|
||||
int b = scan.nextInt();
|
||||
scan.close();
|
||||
|
||||
/* Calculate sum */
|
||||
int sum = solveMeFirst(a, b);
|
||||
|
||||
/* Print output */
|
||||
System.out.println(sum);
|
||||
}
|
||||
|
||||
static int solveMeFirst(int a, int b) {
|
||||
return a + b;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user