class Score
def initialize(subject, score)
@subject = subject
@score = score
end
end
class User
def initialize(name, score)
@name = name
@score = score
end
end
user1 = User.new("Taro", Score.new("Math", 70))
user2 = User.new("Jiro", Score.new("English", 90))