Newer
Older
Ruby / tasizann.rb
@MURASE Aoto MURASE Aoto on 4 Aug 2024 188 bytes 2024-08-04 20:19:22
#!/usr/bin/env ruby
#-*- coding: utf-8 -*-

srand()
tasu1 = rand(9)
tasu2 = rand(9)

printf("%d+%d\n", tasu1, tasu2)
ans = gets.chomp.to_i

sum = tasu1 + tasu2
printf("A.%d\n", sum)
while