Company Logo

Decisions In Programming: If And Else Statements

Lesson 4 of 6 • 87 upvotes • 5:44 mins

Gaurav Munjal

In this lesson, we see how we use decision-making in programming using if and else. And the relational operators we learnt in the last lesson play an important role here. We also write a program to input a user’s age and output if he or she is eligible to watch “Basic Instinct” or not.