Analysis of Cat 'n' Mouse ---------------------------------------------------- I. Initial Setup A. Mouse Properties i. MouseRow, MouseColumn ii. MouseDistance B. Cat Properties i. CatRow, CatColumn ii. CatDistance C. Logical Conditions i. MouseHasBeenCreated ii. CatHasBeenCreated iii. MouseHasBeenCaught D. Grid Boundaries i. Read MaxRow ii. Read MaxColumn II. Tracking Movements A. Read first command character B. Iterate as long as there's input and the mouse hasn't been caught i. if 'M' handle it a. Read rowMove and columnMove b. if mouse does not exist yet, set its location c. else update mouse's location and distance travelled ii. if 'C' handle it a. Read rowMove and columnMove b. if cat does not exist yet, set its location c. else update cat's location and distance travelled iii. if 'P' handle it a. if mouse exists, print its location b. if cat exists, print its location c. if both exist, calculate and print distance between them iv. Check whether mouse has been caught v. Read next command character III. Finishing Up A. Print distance mouse and cat moved B. Print message indicating whether mouse was caught