rustlings/exercises/primitive_types/primitive_types6.rs

12 lines
315 B
Rust
Raw Normal View History

2018-02-22 00:09:53 -06:00
// primitive_types6.rs
// Use a tuple index to access the second element of `numbers`.
// You can put this right into the `println!` where the ??? is.
// Execute `rustlings hint primitive_types6` for hints!
// I AM NOT DONE
fn main() {
let numbers = (1, 2, 3);
println!("The second number is {}", ???);
}