Skip to content

haritonov2/christmas_carol_lyrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Twelve Days of Christmas Lyrics Printer

This repository contains a Rust-based application to print the lyrics to the Christmas carol “The Twelve Days of Christmas,” efficiently taking advantage of the repetition in the song.

Overview

This project provides an implementation to print the full lyrics of the Christmas carol "The Twelve Days of Christmas." It utilizes the repetitive structure of the song to optimize the output.

Getting Started

Follow these instructions to set up and run the project on your local machine.

Prerequisites

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/twelve-days-of-christmas.git
    cd twelve-days-of-christmas
    
  2. Build the project:
    cargo build

Usage

Run the following command to print the lyrics:

cargo run

Example

$ cargo run
[Verse 1]
On the twelfth day of Christmas, my true love sent to me
A partridge in a pear tree

[Verse 2]
On the twelfth day of Christmas, my true love sent to me
Two turtle doves and
A partridge in a pear tree

[Verse 3]
On the twelfth day of Christmas, my true love sent to me
Three french hens
Two turtle doves and
A partridge in a pear tree

...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages