Geri sayac
unknown
ruby
4 years ago
288 B
6
Indexable
timer = Time.now
puts "Set Time:"
input_minute = gets.chomp.to_i
second = 5
while true
puts "Minute: #{input_minute}, Second: #{second}"
sleep 1
timer.min + second-=1
if second == 0
input_minute -=1
second = 5
break
elsif second & input_minute == 0
end
end
puts "end.."Editor is loading...