Keyboard shortcuts

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

Exercise: Circle ARGV

  • Create a file called circle_argv.cr that will expect a number on the command line, the radius of a circle.
  • Print the area and the circumference of the circle.