I need to know how i could right a program that will take as input a character and an integer. If the integer is even, then add one to it. Using the for loop to make the output a diamond composed of a character and as wide as the int.
e.i. Enter a character and an integer:
@ 4
@
@@
@@@
@@@@
@@@
@@
@
I would really appreciate it i've been trying to figure it out for the entire weekend