Question: Please help ASAP Three cats named A, B and C are standingaed A, B and C and two mice are standing at some points on

Please help ASAP
 Please help ASAP Three cats named A, B and C are

Three cats named A, B and C are standingaed A, B and C and two mice are standing at some points on a lin r and cat C is standing at point y. The two mice are hiding at a point z. e same speed, and they want to catch one of the two mice. mice are at point x a cat C f cats A and catches one ofivat point z first, each cat catches one mouse. If cat C arrives first at point z, B arrive at one of the e ce and the other one escapes: cats A and B catch none. If all cats arrive at the same time, they fight and the two mice escap cat catches. Input Format Three a number of test cases in the form of x, y, and z. Find the number of mice each rays containing x (cat A's location), y (cat is location), and z (location of the two mice) Test cases Sample Input int xll -(1, 1,2) int yl (2, 3, 1) int zll-13, 2,3 Sample Output Cat A: 1 Cat B: 1 Cat C: 1 Instructions Write and run te and run a C++ program to solve the problem using the input data below. Provide on the is sheet: (1) the C++ program, and (2) the output. w your complete code and output on the back page. Demonstration of the program developed to your instructor before leaving is required. Sho Input data int rl (22, 33, 47, 18, 84, 84) int yl 175, 86, 29, 19, 17, 68); int zll (70, 59, 89, 82, 18, 763

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!