0

Hello guys so how do you make a java addition program when given: int add(int param1, int param2){}

Java

6th May 2017, 9:03 PM
Kelyn Paul
Kelyn Paul - avatar
5 Respostas
+ 4
public int add (int param1, int param2) { return param1+param2; }
6th May 2017, 9:10 PM
Alexey
Alexey - avatar
+ 3
i smell troll
6th May 2017, 9:21 PM
Edward
+ 1
why do you say so?
6th May 2017, 9:22 PM
Kelyn Paul
Kelyn Paul - avatar
0
yea its pretty simple. just add it together...
6th May 2017, 9:11 PM
Edward
0
thanks guys, I can't believe that code took me hours to think of
6th May 2017, 9:21 PM
Kelyn Paul
Kelyn Paul - avatar