Enjoy programming more!
Kidspod is a post site which supports young programmers.
First step to join us.
Register as a member
For members

2017/09/03 13:44:39

MixJuice GET URL : kidspod.club/mj/254

006

  • No registered tag exist.

SOURCE CODE

var r;
var n = 100;
log(n);
while (n > 0){
  r = rnd(9) + 1;
  log("\n");
  log(" -");
  log(r);
  n = n - r;
  sleep(500);
}
log("\n");
log("---");
log("\n");
log(" ");
log(n);

COMMENT