-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpractice_7_13.rb
51 lines (47 loc) · 879 Bytes
/
practice_7_13.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# favorite_foods = []
#
# puts "Please enter your five foods, making sure to press enter after each one:"
#
# 5.times do
# food = gets.chomp
# favorite_foods << food
# end
#
# puts "Wow! You really love food!"
# puts "Yes I do."
#
# favorite_foods.each do |favorite_food|
# puts "I love " + favorite_food
# end
# count = -1
#
# 11.times do
# count += 1
# puts count.to_i
# end
# sam = 11
# sam_crepes = true
# sally = 6
# sally_french = true
#
# if sam > 10 && sally > 5
# puts "Sam & Sally sitting in a tree"
# else
# puts "No K-I-S-S-I-N-G"
# end
#
# if sam_crepes == sally_french
# puts "Married"
# else
# puts "Better Luck Next Time!"
# end
bank = []
5.times do
puts "Please enter your first_name:"
first_name = gets.chomp
puts "Please enter your last_name:"
last_name = gets.chomp
puts "Please enter your email:"
email = gets.chomp
bank
end