Des exemples de code pour programmer en Rust
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 rivejä
179 B

  1. fn main(){
  2. let mut a = 100 ; // liaison de variable
  3. let mut b = 200 ;
  4. a = a + 300 ;
  5. b = b + 400 ;
  6. println ! ("Finalement, a vaut {}", a) ;
  7. println ! ("Enfin, b vaut {}", b) ;
  8. }