Code on C.

Must be without arrays and functions.

Task 1 – Draw In this task you have to absorb a natural number (we will mark it with x) from the user(You can assume that no negative number) And draw a 2x+1 square to the screen according to the following instructions: The character in the right and left ribs | (or bitwise) The upper and lower ribs must use the minus sign – In the corners, use the (plus) character In the center of the square, the letter X (X capital.) Must be printed. The backslash character must be used on the main diagonal () The secondary slash must use the slash character (/ The square may look like a rectangle because each character is printed into a rectangular proportion screen As long a the tnumber of characters on the ribs is equal, for us it is a square. Attached is a square image for the input 10. Note that the number 2x+1 is odd, so you can always follow the instructions. For a 1 1 square, print only the center (X) For a 3 3 square there is no space for diagonals, so do not draw them. Show transcribed image text Task 1 – Draw In this task you have to absorb a natural number (we will mark it with x) from the user(You can assume that no negative number) And draw a 2x+1 square to the screen according to the following instructions: The character in the right and left ribs | (or bitwise) The upper and lower ribs must use the minus sign – In the corners, use the (plus) character In the center of the square, the letter X (X capital.) Must be printed. The backslash character must be used on the main diagonal () The secondary slash must use the slash character (/ The square may look like a rectangle because each character is printed into a rectangular proportion screen As long a the tnumber of characters on the ribs is equal, for us it is a square. Attached is a square image for the input 10. Note that the number 2x+1 is odd, so you can always follow the instructions. For a 1 1 square, print only the center (X) For a 3 3 square there is no space for diagonals, so do not draw them.

## Expert Answer

Answer to Task 1 – Draw In this task you have to absorb a natural number (we will mark it with x) from the user(You can assume tha…