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/20 19:19:45

MixJuice GET URL : kidspod.club/mj/352

032

  • No registered tag exist.

SOURCE CODE

var r1;
var r2;
var r3;
var gokei;
r1 = rnd(10);
r2 = rnd(10);
r3 = rnd(2);
log(r1);
sleep(1000);
if(r3 == 0){
  log("+");
  gokei = r1 + r2;
}
else{
  log("-");
  gokei = r1 - r2;
}
sleep(1000);
log(r2);
sleep(1000);
log("=");
sleep(1000);
log(gokei);
log("\n");

COMMENT