A solution for The Box, Apple and Cake Problem
- Node.js
14.7.0
or greater (download here https://nodejs.org/en/) - npm
6.14.7
or greater - git, any version (download here https://git-scm.com/downloads)
- open git bash
- clone the project by running this command (
git clone https://github.com/vedoalfarizi/bundle-counter.git
) - open the project on your editor
- open terminal (in this example is PowerShell)
- position it in the project directory (example command
cd D:/node/bundle-counter
) npm install
to install all project dependenciesnpm start
to run the project and see the solution result- If you want to test another case, you can change the value of apples or cakes in
src/main.js
- repeat step 7