Search thousands of free JavaScript snippets that you can quickly copy and paste into your web pages. Get free JavaScript tutorials, references, code, menus, calendars, popup windows, games, and much more.
Dart Equality and Relational Operators
void main() {
var num1 = 5;
var num2 = 9;
var res = num1 > num2;
print('num1 greater than num2 :: ' + res.toString());
res = num1 < num2;
print('num1 lesser than num2 :: ' + res.toString());
res = num1 >= num2;
print('num1 greater than or equal to num2 :: ' + res.toString());
res = num1 <= num2;
print('num1 lesser than or equal to num2 :: ' + res.toString());
res = num1 != num2;
print('num1 not equal to num2 :: ' + res.toString());
res = num1 == num2;
print('num1 equal to num2 :: ' + res.toString());
}
Subscribe to:
Post Comments (Atom)
Why Carousels Are a Poor Way to View Product Images
Introducing the scrolling image stream ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ...
-
code.gs // 1. Enter sheet name where data is to be written below var SHEET_NAME = "Sheet1" ; // 2. Run > setup // // 3....
No comments:
Post a Comment