shark/test_files/case.nila in nilac-0.0.4.3.9.7.1 vs shark/test_files/case.nila in nilac-0.0.4.3.9.8
- old
+ new
@@ -18,6 +18,14 @@
puts 'Your input was 1'
when 2
puts 'Your input was 2'
else
puts "Your input was greater than 2"
+end
+
+input_name = prompt "What is your name?"
+
+if input_name.downcase == "Jim".downcase
+ alert "Hey Jim!"
+else
+ alert "Hey #{input_name}"
end
\ No newline at end of file