Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. //Advanced expression with let
  2. fn main(){
  3. let orange = true;
  4. //Set the value of the result
  5. let fruit = if orange == false {
  6. "Not"
  7. }else{
  8. "Yes"
  9. };
  10. println!("To the Shinigamis likes the apples? {} ", fruit);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement