dc
dc
Installation
Ubuntu
apt install dc
Alma Linux
dnf install bc
Examples
Fibonacci Numbers
# Fibonacci Numbers
sa
[2Q] s.
[d 2 >. 1 - d lfx r 1 - lfx +] sf
la lfx p
# example
# run:
# dc -e 30 fib.dc
apt install dc
dnf install bc
# Fibonacci Numbers
sa
[2Q] s.
[d 2 >. 1 - d lfx r 1 - lfx +] sf
la lfx p
# example
# run:
# dc -e 30 fib.dc