2021年2月10日星期三

Position of a robot After giving directions and position (pass by reference) c++

Robby Robot walks in a Cartesian plane.

The program has four commands: a] Origin - enables Robby to return to the point of origin which is 0,0 b] Location - prints the current location of Robby c] Move - Robby moves to the following directions: 6-East, 4-West, 8-North, 2-South. Distance should be given (an integer). d] Exit - prints "Program terminated. Thank you!"

https://stackoverflow.com/questions/66148628/position-of-a-robot-after-giving-directions-and-position-pass-by-reference-c February 11, 2021 at 12:07PM

没有评论:

发表评论