#!/usr/bin/ruby -w #Rank Name Country Depth Length CaveList = < a[1]} puts "\nAmong the 10 largest caves, each country has:" countryLength.each {|c,l| print "%-15s"%c, "%5d"%(l/1000*0.621).round, " miles\n"}