Question: write java program . please use nested loops to do it . without arrays please use bested loops to solve it . withour arrays Write
write java program . please use nested loops to do it . without arraysWrite a Java program that displays a shape representing capital letter of X as shown in the examples below. The program should ask the user to enter an odd integer number greater than 2 representing the size of the letter X in terms of number of rows and columns. Appropriate error message should be displayed if the user input for size is invalid. Examples Enter odd number > 2 : 6 6 Invalid number Enter odd number > 2 : 5 * * Enter odd number > 2 : 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
