Intro to ruby day 2 (control flow)

feelo31

Felix Imbanga

Posted on February 20, 2024

Intro to ruby day 2 (control flow)

Worked on control flow today, Learned how to use if, else, elsif conditional statements. Also worked with ==, !=, <,<=,> and >=. Also worked with boolean and logical operators such as &&, || , and !.

I did have a question on placing ! after methods, I got a jist of the need to use it but I still didn't grasp the reason why its essential on a method vs not putting the ! after a method.

💖 💪 🙅 🚩
feelo31
Felix Imbanga

Posted on February 20, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related