One number variable. Conditions like step > 2 are much easier than juggling four booleans, and "Back" is just step - 1.
step > 2
step - 1
I'm prototyping a four-step checkout. Should I use a number variable for the current step, or one boolean per step?