Question: Please help me ! ! My brain is exploding. Write a program called xtreme.c that reads an ( odd ) integer n from standard input,

Please help me!! My brain is exploding. Write a program called xtreme.c that reads an (odd) integer n from standard input, and prints an nxn a square of
asterisks and dashes in the following pattern:
n: 9
**---**---**
-**-----**-
--**---**--
---**-**---
**---**---**
---**-**---
--**---**--
-**-----**-
**---**---**
n: 15
-----**---*
-**---**---**---**-
-----
------*---
-**---**---**---**-
-----
------
--**---**-**---**--EXERCISE (O0):
ABC Grid
For this activity you will create the program abc_grid.c .
The program will create a cascading pattern in the form of a grid of letters. First the program will ask the user to choose
a grid size by entering the number of rows and then the number of columns. The program will then ask for a starting
letter and the starting coordinates for this letter. This is where the pattern will start from.
In the example below the starting letter is Y. Lets say its starting position was [x][y] where x and y are some
starting co-ordinates. The letter following Y in the alphabet is Z and hence the immediate surrounding positions
([x+1][y],[x-1][y],[x][y+1],[x][y+1]) are z. This pattern now continues from z where the next
letter is A and so on to B . This pattern will continue until the grid has been filled!
Examples
 Please help me!! My brain is exploding. Write a program called

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!