reto08 fix, ahora puede dar cero
This commit is contained in:
@@ -22,7 +22,8 @@ fn seudorandom() -> u32 {
|
|||||||
.unwrap() as u32;
|
.unwrap() as u32;
|
||||||
|
|
||||||
while now > 100 {
|
while now > 100 {
|
||||||
now = now - 100;
|
println!("{}", now);
|
||||||
|
now = now - 101;
|
||||||
}
|
}
|
||||||
now
|
now
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user