String Silben[20]={"ha","la","zu","eg","lo","kar","nee","of","ro","ki",
"juu","fra","hou","ge","ur","an","zal","io","pap","ang"};
String wort = "";
int count=0;
int minimum = 2;
int maximum = 8;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
wordGen();
Serial.println(wort);
}
void loop() {
// put your main code here, to run repeatedly:
// there is no code here bc i dont rly need this loop sry
}
void wordGen(){
randomSeed(analogRead(0));
while(true){
int num = random(1,5);
if(num!=4&&count<7){
int inArray = random(0,20);
wort.concat(Silben[inArray]);
count++; }
else if(num==4&&count>2){
break; } }
}