fork download
  1. import 'dart:io';
  2.  
  3. void main() {
  4.  
  5.  
  6. int n = 2;
  7. if(n%2 == 0){
  8. print("yes $n");
  9. }else{
  10.  
  11. print("no $n");
  12. }
  13.  
  14. }
Success #stdin #stdout 1.22s 132476KB
stdin
Standard input is empty
stdout
yes 2