Elsif


#1



https://www.codecademy.com/courses/ruby-beginner-en-NFCZ7/0/4?curriculum_id=5059f8619189a5000201fbcb


I dont get what elsif does


<img src="//codecademy-discourse.s3.amazonaws.com/original/4X/8/d/0/8d0fd48f9479c1d3fdbfd87186a140b3fa738619.png" width="678" height="373">


#2

HI you should also add the conditon to the elsif like to the if statement

#the structure
if condition
   #do something
elsif condtion
   #do something
else
   #do something

#3

2 posts were split to a new topic: What's wrong here?


#4