intro + v1

This commit is contained in:
KlbSebastian 2023-05-20 15:45:08 +02:00
parent f2de12aa34
commit bfc4adf98c
3 changed files with 7 additions and 5 deletions

View File

@ -9,10 +9,11 @@
// when you change one of the lines below! Try adding a `println!` line, or try changing
// what it outputs in your terminal. Try removing a semicolon and see what happens!
// I AM NOT DONE
fn main() {
println!("Hello and");
println!("Hallo");
println!(r#" welcome to... "#);
println!(r#" _ _ _ "#);
println!(r#" _ __ _ _ ___| |_| (_)_ __ __ _ ___ "#);

View File

@ -2,8 +2,8 @@
// Make the code print a greeting to the world.
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a hint.
// I AM NOT DONE
fn main() {
println!("Hello {}!");
println!("Hello {}!", "world");
}

View File

@ -2,9 +2,10 @@
// Make me compile!
// Execute `rustlings hint variables1` or use the `hint` watch subcommand for a hint.
// I AM NOT DONE
fn main() {
x = 5;
let x = 5;
println!("x has the value {}", x);
}