Skip to content

notfirefox/postfix-notation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postfix Notation

Postfix Notation Calculator

📋 Requirements

  • Rust

🚀 Usage

Run the program using the following command.

cargo run

The calculation of the expression 2+2 could look like this:

$ cargo run
2 2 +
Result: 4

Lets try something more sophisticated such as pow(2, 5):

$ cargo run
2 2 * 2 * 2 * 2 *
Result: 32

About

Postfix Notation Calculator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages