diff --git "a/\043irotsuke.rb\043" "b/\043irotsuke.rb\043" new file mode 100755 index 0000000..e69de29 --- /dev/null +++ "b/\043irotsuke.rb\043" diff --git "a/.\043irotsuke.rb" "b/.\043irotsuke.rb" new file mode 120000 index 0000000..5fc5f53 --- /dev/null +++ "b/.\043irotsuke.rb" @@ -0,0 +1 @@ +j2420@jd.koeki-u.ac.jp.1238:1725080790 \ No newline at end of file diff --git a/hyukanhapyoukaipure1.rb b/hyukanhapyoukaipure1.rb new file mode 100755 index 0000000..f26873c --- /dev/null +++ b/hyukanhapyoukaipure1.rb @@ -0,0 +1,26 @@ +#!/usr/bin/env ruby +# -*- coding: utf-8 -*- + +puts "忘れ物チェックリスト" +puts "明日の持ち物を記入してください" +puts "1 : ハンカチ" +puts "2 : ティッシュ" +puts "3 : 水筒" +puts "4 : 帽子" +puts "5 : 筆記用具" +puts "6 : 給食ナフキン" +puts "7 : 検温カード" +puts "8 : 名札" + +while true +motimono = gets.chomp.to_i +if motimono == 1 +puts "ティッシュ、水筒、帽子、筆記用具、給食ナフキン、検温カード、名札を忘れてはいませんか?" +break +elsif motimono >= 1&&2 == 1&&2 =