6! means 1 × 2 × 3 × 4 × 5 × 6. Compute it with a loop, store it in fact and print it.
fact
720
New to this? The While Loops & break/continue lesson explains it from scratch.