## Dart编程实例 - 相等和关系操作符```dartvoid main() { var num1 = 5; var num2 = 9; var res = num1num2; print(num1 greater than num2 :: +res.toString()); res = num1num2;
## Dart编程实例 - 类型测试操作符is```dartvoid main() { int n = 2; print(n is int);}```
## Dart编程实例 - 类型测试操作符 is! ```dartvoid main() { double n = 2.20; var num = n is! int; print(num);}```
## Dart编程实例 - 赋值操作符```dartvoid main() { var a = 12; var b = 3; a+=b; print(a+=b : ${a}); a = 12; b = 13; a-=b; print(a-=b : ${a});
## Dart编程实例 - 逻辑操作符```dartvoid main() { var a = 10; var b = 12; var res = (ab)||(b10); print(res); var res1 =!(a==b); print(res1);} ```
## Dart编程实例 - Dart for循环```dartvoid main() { for(var temp, i = 0, j = 1; j30; temp = i, i = j, j = i + temp) { print(${j}); }}```
## Dart编程实例 - Break 语句```dartvoid main() { var i = 1; while(i=10) { if (i % 5 == 0) { print(The first multiple of 5 between 1 and 10 is : ${i});