void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
randomSeed(analogRead(0));
while(true){
int randomNumber = random(1,100);
Serial.print("bilangan acak: ");
Serial.println(randomNumber);
if(randomNumber % 7 == 0){
Serial.print("ketemu, bilangan ini habis di bagi 7!!!");
break;
}
}
}
void loop() {
// put your main code here, to run repeatedly:
}