#!/usr/bin/env ruby # -*- coding: utf-8 -*- print("年齢を入力してください\n") age=gets.to_i print("私の名前は相澤麻衣です\n") printf("私の年齢は%d歳です\n",age)