1.3P.txt - require'date INCHES = 0.393701 This is a global constant Insert the missing code here into the statements below gets gets.chomp

1.3P.txt - require'date INCHES = 0.393701 This is a global...

This preview shows page 1 out of 1 page.

require 'date'INCHES = 0.393701 # This is a global constant# Insert the missing code here into the statements below:# gets# gets.chomp# Date.today.year# year_born.to_i# gets.to_fdef mainputs 'What is your name?'name = gets.chompputs 'Your name is ' + name + '!'puts 'What is your family name?'family_name = gets.chompputs 'Your family name is ' + family_name + '!'puts 'What year were you born?'

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture