Created
August 3, 2018 13:20
-
-
Save bhavya411/2cb3a13671af7e6f01dcb6c6f00332cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
let mut count = 0; | |
loop { | |
if count == 5 { | |
break; | |
} | |
println!("Printing 5 times!"); | |
count = count + 1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment