Compare commits

..

5 Commits

2 changed files with 18 additions and 0 deletions

7
Cargo.toml Normal file
View File

@ -0,0 +1,7 @@
[package]
name = "random"
version = "0.1.0"
edition = "2021"
[dependencies]
rand = "0.8"

11
src/main.rs Normal file
View 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);
}