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: STDIN rectangle

  • Ask the user for the length and the width of a rectangle and print the area and the circumference to the screen.