organizado en carpetas

This commit is contained in:
2023-07-04 12:18:40 +02:00
parent d9f4748095
commit 000f8f72a2
76 changed files with 0 additions and 21 deletions

View File

@@ -0,0 +1,8 @@
[package]
name = "arreglos2"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View File

@@ -0,0 +1,12 @@
fn main() {
let mi_arreglo = ["Lovecraft", "Poe", "Barker", "King"];
let mut i = 0;
loop {
if i >= mi_arreglo.len() {
break;
}
println!("{}", mi_arreglo[i]);
i = i + 1;
}
}