This repository has been archived on 2023-10-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
curso_rust_tinchicus/curso_tinchicusls/nombre/src/main.rs
2023-07-04 12:18:40 +02:00

14 lines
318 B
Rust

fn main() {
'bucle_externo: for x in 0..10 {
'bucle_interno: for y in 0..10 {
if x % 2 == 0 {
continue 'bucle_externo;
}
if y % 2 != 0 {
continue 'bucle_interno;
}
println!("X: {}, Y: {}", x, y);
}
}
}