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.

8 line
214 B

  1. fn main() {
  2. println ! ("10 + 2 = {}", 10 + 2) ;
  3. println ! ("10 - 2 = {}", 10 - 2) ;
  4. println ! ("10 * 2 = {}", 10 * 2) ;
  5. println ! ("10 / 2 = {}", 10 / 2) ;
  6. println ! ("10 % 2 = {}", 10 % 2) ;
  7. }