C1 Min Read LetuscrackonDecember 30, 2025 Distance Travelled + or – The program must accept a string S representing the direction of movement as the input. The string S contains only the…