Skip to content

0xVergil/rpn_calculator.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RPN calculator

Requirements

  • You only need to have rust toolchain installed link
  • No external crates needed — this program uses only Rust’s standard library.

Usage

After cloning the repo, cd into it, and:

> cargo run "<rpn expression>"

Example:

> cargo run "3 4 + 9 *"

Output:

3 4 + 9 *
7 9 *
= 63

Releases

No releases published

Packages

 
 
 

Contributors

Languages