Bug in Generierung der Kreditkartennummer behoben
This commit is contained in:
parent
09551d75d4
commit
3c62f29400
|
|
@ -80,6 +80,6 @@ public class Main {
|
|||
|
||||
|
||||
public static int erzeugeZugallszahl() {
|
||||
return (int) (Math.random() * 9) + 1;
|
||||
return (int) (Math.random() * 10);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue