From 22896548c89507cf0c3264c3474b61b4925adb7d Mon Sep 17 00:00:00 2001 From: fdai7446 <––fdai7446@fhfddvz1.rz.hs-fulda.de> Date: Fri, 10 Feb 2023 15:15:55 +0100 Subject: [PATCH] startTaschenrechner case8 --- Taschenrechner.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Taschenrechner.java b/Taschenrechner.java index f5c2be1..6b4c6a6 100644 --- a/Taschenrechner.java +++ b/Taschenrechner.java @@ -127,6 +127,13 @@ public class Taschenrechner { break; } + case 8:{ + System.out.println("RandomNummer\n"); + + System.out.println("Ergebnis:" + randomNummer(eingabe(), eingabe())); + + break; + } default: throw new IllegalArgumentException("Unexpected value: " + s); }