Meddl leude
							parent
							
								
									418722694b
								
							
						
					
					
						commit
						a162ed1c4e
					
				|  | @ -0,0 +1,37 @@ | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | public class Methoden | ||||||
|  | { | ||||||
|  |     public static int summe( int a, int b){ | ||||||
|  |      int summe = a + b; | ||||||
|  |        return summe;  | ||||||
|  |          | ||||||
|  |     } | ||||||
|  |      | ||||||
|  |     public static int differenz(int c, int d){ | ||||||
|  |         int differenz = c - d; | ||||||
|  |         return differenz; | ||||||
|  |     } | ||||||
|  |      | ||||||
|  |     public static int produkt(int e, int f){ | ||||||
|  |         int produkt = e * f; | ||||||
|  |         return produkt; | ||||||
|  |     } | ||||||
|  |      | ||||||
|  |     public static int quotient(int g, int h){ | ||||||
|  |         int quotient = g / h; | ||||||
|  |         return quotient; | ||||||
|  |      | ||||||
|  |     } | ||||||
|  |      | ||||||
|  |     public static void term(){ | ||||||
|  |         System.out.println(summe(produkt(3, 2), produkt(3, 5))); | ||||||
|  |     } | ||||||
|  |     public static double potenz(int i, int j){ | ||||||
|  |         double L = 1; | ||||||
|  |         for(int t = 0; t < j; t++){ | ||||||
|  |             L = L * i; | ||||||
|  |         } | ||||||
|  |         return L; | ||||||
|  |     } | ||||||
|  | } | ||||||
		Loading…
	
		Reference in New Issue