To program a digital turtle to trace the outline of a hexagon, what code should be used?

A.
forward 50

B.
repeat 6 [forward 50 right 60]

C.
repeat 3 [forward 50 right 90]

D.
repeat 4 [forward 50 right 60]