Jviguy / cents

A small and simple rust program that I decided to make for learning (this is extended from the coins example in the rust book)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cents

A small and simple rust program that I decided to make for learning (this is extended from the coins example in the rust book)

Usage

From the command line this program can be used like

cents penny

This will echo the amount of cents that a penny is worth
Arguments

# -c == --count which specifies the amount of the coin we should convert.
cents -c 20 penny

Will return 20 pennys are 20 cents!

About

A small and simple rust program that I decided to make for learning (this is extended from the coins example in the rust book)


Languages

Language:Rust 100.0%