If Statements
Lesson 14Author : 🦒
Last Updated : November, 2017
if (isStudent && isSmart) { Console.WriteLine("You are a student"); } else if (isStudent && !isSmart) { Console.WriteLine("You are not a smart student"); } else { Console.WriteLine("You are not a student and not smart"); }
// >, <, >=, <=, !=, == if (1 < 3) { Console.WriteLine("number comparison was true"); }