If Statements
Lesson 14Author : GOUP
Last Updated : September, 2020
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"); }