Pseudocode, UndergraduateCIS 120 ProjectA robot is sitting in a chair with its arms facing down. Write an algorithm, using pseudocode, to make the…