Exercise: Calculator ARGV
- Create a file called
calculator_argv.crthat the user can run with two numbers and an operator(+, -, *, /). crystal calculator_argv.cr 3 + 7- Compute the result of the operation and print it out.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
calculator_argv.cr that the user can run with two numbers and an operator (+, -, *, /).crystal calculator_argv.cr 3 + 7