100_doors.in 104 B

1234567
  1. /* 100 Doors */
  2. i = 1;
  3. while (i * i <= 100) {
  4. print("door ", i * i, " is open\n");
  5. i = i + 1;
  6. }