num = 4 if num.integer? puts "Invited guests: " + num.to_s else puts "Only whole persons can come to this party." end