First, download the open-cobol
:
brew install open-cobol
Run compiler:
cobc -free -x -o calculator calculator.cblD
Open the program:
./calculator
Calculator written in COBOL to practice this language
First, download the open-cobol
:
brew install open-cobol
Run compiler:
cobc -free -x -o calculator calculator.cblD
Open the program:
./calculator
Calculator written in COBOL to practice this language