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

Task: Get two numbers from the command line and do some calculations on them

let x = 23;
let y = 19;
let sum = x + y;
println!("{x} + {y} = {sum}");