Question: C++: Write a program that draws a plus sign using the letter X in a size entered by a user. The size must always be
C++:
Write a program that draws a plus sign using the letter X in a size entered by a user. The size must always be an odd number. If the user enters an even number, it should be the next higher odd number.
Example 1: Input: 3 X XXX X
Example 2: Input: 5 X X XXXXX X X
Example 3 Input: 6 X X X XXXXXXX X X X
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
