Skip to content

skaki/RPN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

RPN Spreadsheet

A RPN evaluator for the entire spreadsheet. Each cell contains an RPN expression with referencing other cells.

Input looks like this. First row is number of columns and rows in the spreadsheet. following rows will be the expressions in each cell moving from left to right.

3 2 A2 4 5 * A1 A1 B2 / 2 + 3 39 B1 B2 * /

Output should be

3 2 20.00000 20.00000 20.00000 8.66667 3.00000 1.50000

Good example to excercise various data structures and programming constructs.

About

RPN Spreadsheet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages