#!/usr/bin/rubyrequire 'cgi'cgi = CGI.newfrom = cgi['from'].to_ito = cgi['to'].to_inumber = rand(to-from+1) + fromputs cgi.headerputs "#{number}"An associated, but basic, form that could send the correct data would have HTML: For a number between and