mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-10 07:57:32 -05:00
Compare commits
4 Commits
d8904caf59
...
18800b55df
Author | SHA1 | Date | |
---|---|---|---|
|
18800b55df | ||
|
a84b085a2d | ||
|
dbb73578f8 | ||
|
ac242b35b8 |
7
Cargo.toml
Normal file
7
Cargo.toml
Normal file
@ -0,0 +1,7 @@
|
||||
[package]
|
||||
name = "random"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
rand = "0.8"
|
11
src/main.rs
Normal file
11
src/main.rs
Normal file
@ -0,0 +1,11 @@
|
||||
use rand::Rng;
|
||||
|
||||
fn main() {
|
||||
println!("How many bees will you get?");
|
||||
println!("Guess your answer");
|
||||
println!("That was wrong, dipshit");
|
||||
let num = rand::thread_rng().gen_range(0..100);
|
||||
print!("The amount of bees you get: ");
|
||||
println!("{}", num);
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user