int x; int z; int y; char temp; void setup() { Serial.begin(19200); delay(4900); Serial.println("|MOD : % |"); Serial.println("|x % y = z|"); Serial.println("-----------"); x=0; z=0; y=5; } void loop() { while(x<11){ z=x%y; Serial.print(" "); Serial.print(x); Serial.print(" % "); Serial.print(y); Serial.print(" = "); Serial.println(z); x++; z=0; //delay(10); } Serial.println("-----------"); delay(100); setup(); }