Skip to content
/ cents Public

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

Notifications You must be signed in to change notification settings

Jviguy/cents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages