#!/usr/bin/env ruby # -*- coding: utf-8 -*- kodamono = ["りんご","みかん","バナナ"] nedan = [130,80,100] printf("%sの値段は%d円です。 \n", kudamono[0], nedan[0])