Question: Write a program called x.c that reads an integer n from standard input. and prints an nxn pattern of asterisks and dashes in the shape
Write a program called x.c that reads an integer n from standard input. and prints an nxn pattern of asterisks and dashes in the shape of an "X".
You can assume n is odd and >= 5.
You are not permitted to use an array in this exercise.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
