You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package com.company;
|
|
|
|
public class addierenZwierGanzzahlen {
|
|
|
|
public static int addieren(int a, int b){
|
|
|
|
return a + b;
|
|
|
|
}
|
|
|
|
public static void main(String[] args){
|
|
|
|
int number1 = 5;
|
|
int number2 = 30;
|
|
|
|
int add = addieren(number1, number2);
|
|
|
|
System.out.println(add);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|