0
another challenge to me, how do i write codes that will ask user to insert multiple values?
in these codes, i want users to enter their age and name age = "18" user = gets.chomp user2 = gets.chomp if user >= age puts" welcome #{user2}" end but when i run it, it only ask user to insert value once..and result to an error
1 Antwort
+ 7
age = "18"
name = "myname"
puts "hello #{name} #{age}"
end