input:
takes n coordinating points as inut
and reflects them according to x,y axis depending of our wish and counts number of points in each quadrant.
sample input:
enter number of points
4
1 1
1 -1
-1 -1
-1 1
enter number of opperations
4
x 1 3(means reflects first,second,third points according to x-axis)
count 1 3
y 1 2
count 1 3
sample output:
q1 q2 q3 q4
1 1 0 2
0 0 1 3
takes n coordinating points as inut
and reflects them according to x,y axis depending of our wish and counts number of points in each quadrant.
sample input:
enter number of points
4
1 1
1 -1
-1 -1
-1 1
enter number of opperations
4
x 1 3(means reflects first,second,third points according to x-axis)
count 1 3
y 1 2
count 1 3
sample output:
q1 q2 q3 q4
1 1 0 2
0 0 1 3