Project: lb_bc
Node.js·1 min read·Apr 17, 2025

In Unix, the bc utility is used to evaluate arithmetic expressions and output their result to the standard output.
The objective of this project is to write a Node.js command-line script that partially reimplements the bc utility.
General instructions
Here are the general instructions to complete this project:
-
The script must be named
lb_bc.js. -
The script must be written in Node.js.
Reading positional arguments
The objective of this part is to implement a script that evaluates an arithmetic expression provided through the CLI.
Unlock the program 🚀
Pay once, own it forever.
€79
30-day money-back guarantee
- 13 modules
- 113 lessons with full-code examples
- 29 projects with commented solutions
- All future lesson and project updates
- Lifetime access
By submitting this form, you agree to the Terms & Conditions and Privacy Policy.