use std::collections::BTreeMap;
use std::collections::HashMap;
struct Point {
x: f64,
y: f64,
}
fn main() {
println!("Hello world! - rust.jsrun.net");
for _ in 0..10 { println!("Hello"); }
print!("{}", "Hello\n".repeat(10));
finish("yezi");
finish("yezi2");
print!("{}", square(10));
let p = Point { x: 1.122, y: 7.45 };
println!("{}, {}", p.x, p.y);
}
fn finish(name: &str) {
println!("My job here is done. Goodbye {}", name);
}
fn square(x : u32) -> u32 { x * x }