Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Advanced expression with let
- fn main(){
- let orange = true;
- //Set the value of the result
- let fruit = if orange == false {
- "Not"
- }else{
- "Yes"
- };
- println!("To the Shinigamis likes the apples? {} ", fruit);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement