Guest User

Untitled

a guest
May 28th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 0.31 KB | None | 0 0
  1.  
  2. fn main()
  3. {
  4.     a := 10;
  5.     if (a = 10) {
  6.         putc('a');
  7.     }
  8.     if (a != 10) {
  9.         putc('b');
  10.     }
  11.  
  12.     if (a >= 10) {
  13.         putc('c');
  14.     }
  15.     if (a <= 10) {
  16.         putc('d');
  17.     }
  18.  
  19.     if (a >= 9) {
  20.         putc('e');
  21.     }
  22.     if (a <= 9) {
  23.         putc('f');
  24.     }
  25.  
  26.     if (a >= 11) {
  27.         putc('g');
  28.     }
  29.     if (a <= 11) {
  30.         putc('h');
  31.     }
  32.  
  33. }
Advertisement
Add Comment
Please, Sign In to add comment