Unverified Commit ea1a6aea authored by Aral Balkan's avatar Aral Balkan
Browse files

Linear run

parent 70b350c9
[[package]]
name = "twelve_days"
version = "0.1.0"
fn main() {
println!("Hello, world!");
let days_to_presents = [
("first", "patridge in a pear tree."),
("second", "Two turtle doves"),
("third", "Three French hens"),
("fourth", "Four calling birds"),
("fifth", "Five gold rings"),
("sixth", "Six geese a-laying"),
("seventh", "Seven swans a-swimming"),
("eight", "Eight maids a-milking"),
("ninth", "Nine ladies dancing"),
("tenth", "Ten lords a-leaping"),
("eleventh", "Eleven pipers piping"),
("twelfth", "Twelve drummers drumming")
];
for details in days_to_presents.iter() {
println!("On the {} day of Christmas, my true love sent to me\n{}", details.0, details.1);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment