diff --git a/while.rb b/while.rb new file mode 100755 index 0000000..105df47 --- /dev/null +++ b/while.rb @@ -0,0 +1,9 @@ +#!/usr/bin/env ruby +# coding: utf-8 +print("起動しました\n") +nokori=3 +while nokori>0 + sieep 30 + nokori=nokori-1 +end +print("終了します\n")