From f1e7c3047f6deabb8d871185c84990eb9ba3c064 Mon Sep 17 00:00:00 2001 From: fdai7446 <––fdai7446@fhfddvz1.rz.hs-fulda.de> Date: Fri, 10 Feb 2023 11:09:41 +0100 Subject: [PATCH] RandomNummer 2 --- Taschenrechner.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Taschenrechner.java b/Taschenrechner.java index 69c235b..f665873 100644 --- a/Taschenrechner.java +++ b/Taschenrechner.java @@ -45,6 +45,10 @@ public class Taschenrechner { } int randomNummer(int a, int b) { - return 0; + int temp = 0; + + temp = (int) Math.random(); + + return temp; } }