A user will input the width and height and it will output the number of diamonds per loop..
width=5= 5 diamonds
height=6=6 diamonds
It's like a table but it's a symbol.
Just think of it as squares i guess?
if width=5
and
height=6
then,
___ ____ ____ ___ ___
|__||___||___||___||___|
___ ____ ____ ___ ___
|__||___||___||___||___|
___ ____ ____ ___ ___
|__||___||___||___||___|
___ ____ ____ ___ ___
|__||___||___||___||___|
___ ____ ____ ___ ___
|__||___||___||___||___|
___ ____ ____ ___ ___
|__||___||___||___||___|
>think of the squares as a diamond xD
//hope i made it clearer :P
Yay! Thank you! :D
Here's the final and correct code with added codes in it... It's the first and third output in the link(Haven't figured out the second output working on it)