Relational Operators Example Program in Dart

Example Program:

Here is the simple program for printing basic example of relational operators in dart.

Source Code

void main(){
   int a,b;
   print("Greater than : ${a>b}");
   print("Lesser than : ${a<b}");
   print("Greater than or equal to : ${a>=b}");
   print("Lesser than or equal to : ${a<=b}");
   print("Equality : ${a==b}");
   print("Not equal	 : ${a!=b}");
To download raw file Click Here


Greater than : true
Lesser than : false
Greater than or equal to : true
Lesser than or equal to : false
Equality : false
Not equal    : true

Learn All in Tamil © Designed & Developed By Tutor Joes