## Description

Program should take 3 inputs.

Argument 1: dimension XXYY where XX is width (in lines), and YY is height. Ex. 2211

Argument 2: mirroring horizontal, or vertical. If even - at the half-point horizontal - width/2 - quadrant 1 is mirrored to quadrant 2. And vertical, height/2, same as above.

If odd: include 1 column, or row that is not mirrored (serves as the ‘stich’).

Argument 3: (for now it’ll only be sizes of ???? from 4 to 9)

Evaluating the above arguments, randomly generate the below example output. Make sure counting of ???? spaces is done after the mirroring process. If it doesn’t match argument 3, discard, re-draw quadrant.

The output format should look like:

Where ? is a counted space, and . is a blocked space.

??????.????.?????

??????.????.?????

???????????.?????

????.???..???????

...??????????????

???.???.????.????

?????????????.???

?????.???.????...

??????.???.??????

...????.???.?????

???.?????????????

????.????.???.???

??????????????...

???????..???.????

?????.???????????

?????.????.??????

?????.????.??????

Please find the following query from our developer..

Argument 1: dimension XXYY where XX is width (in lines), and YY is height. Ex. 2211

do we need to generate the quadrant based on provided xxyy (xx = width ,yy=height)? Yes

Argument 2: mirroring horizontal, or vertical. At the half-point horizontal - width/2 - quadrant 1 is mirrored to quadrant 2. And vertical, height/2, same as above.

In this argument, the client provides a string like "horizontal" or "vertical" ? Yes, it can be a CSV with column 1 being dimensions XXYY, column 2, V or H or none(nothing). If V vertical mirror, if H.. horizontal, if none, no mirror, fill whole area.

At the half-point horizontal - width/2 ,what we need to if provided width is odd number? for ex: xx=5 ,center point id 3,"xxaxx" so can we take center point is (xx/2)+1 as center point More common dimensions are 08+ for width, 08+ for height, statistical average 1111. xx/2+1 sounds fine.

If the client provides ''horizontal" do we need to mirror the Q1 and Q2? Mirror will only be once, the above to the below, the left to right (if vertical)

same query for vertical the left to right (if vertical)

Argument 3: (for not it’ll only be sizes of ???? from 4 to 9)

Please provide a detailed explanation

???? denote 4 spaces. . ← denotes a blocked square. If we’re given a limit of 4 and above, and 9 and below, then all randomly generated spaces [????] have to be between those two. For now a generally even spread is fine! Let me know if you need further detail.

Evaluating the above arguments, randomly generate the below example output. Make sure counting of ???? spaces is done after the mirroring process. If it doesn’t match argument 3, discard, re-draw quadrant.

by using the above arguments we need to generate a random graph with "?" and "." and then make mirroring ,and then count the length of "?" We need to make sure we count spaces after we have made the mirror step, to make sure the resulting graph is indeed above 4 and below 9 spaces [????].

please provide an example with detailed information

I think I answered above, if unclear let me know. Mirroring should be clear, each item is reversed on the opposite side.

I misused the word quadrant, let’s think of it as section. Sliced in the middle.

Final step, export graph each to a TXT file mamed XXYY_number++.txt

Inside each TXT file, only the diagram generated, nothing else.

=============================================

New questions remaining?

Can you please provide feedback for the following from our developer.

Please provide required graphs for below two inputs, this will gives us to complete understanding.

2211,V,6 <- this should be a range of allowed values, else it’ll just make only 6

2211,H,3

Graph need to generate the console or any new file ←- rephrase, not sure what you mean

Graph need to be generated on one console(terminal),or on any other text file ? See answer above turned to this color.

What do you mean? What the graphs should look like?

A possible but poor first line for [2] above, add 11 more lines for height: Counter looks for both horizonal spaces, and vertical. In reality we want spaces ranged 4 to 9 however

???.???.??????.???.???

…

…

…

…

…

…

…

…

…

…