Fundamentals13 / 17
Up next

let

#!/usr/bin/env bash
# let performs arithmetic and assigns the result
let x=5+3
let x*=2
echo "x=$x"
What you're solving

let evaluates arithmetic into a variable