1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-11-09 22:08:58 +01:00
programming-challenges/challenges/hello-world/solutions/rust/function/solution.rs

9 lines
156 B
Rust

use std::io::{self, BufRead};
fn main() {
let stdin = io::stdin();
for line in stdin.lock().lines() {
println!("Hello, {}!", line.unwrap());
}
}