Newer
Older
Ruby / kuku.rb
@SAITO So SAITO So on 10 Sep 2022 329 bytes 2022-09-10 15:20:43
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-

def kuku(kakerareru, kakeru)
  if kakerareru  0 || kakeru  0
    return nil
  end
  return 
end

puts "九九の計算をします。"
print "かけられる数を入力:"
suzi1 = gets.to_i
print "かける数を入力:"
suzi2 = gets.to_i
printf("解答は%dです。\n", kuku())