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/06 18:26:39

MixJuice GET URL : kidspod.club/mj/275

021

  • No registered tag exist.

SOURCE CODE

var key;
key = 0;
log("Y : Yes");
log("\n")
log("N : No");
while(key != 121  && key != 110){
  key = inkey();
  if(key == 121){
    cls();
    lc(14, 12);
    log("Yes");
  }
  if(key == 110){
    cls();
    lc(14, 12);
    log("No");
  }
  sleep(10);
}

COMMENT