#Examples:
Examples:
#Examples:
Examples:
Leading and trailing whitespace is allowed as long as the output is visually the same.
#Examples:
#Examples:
Leading and trailing whitespace is allowed as long as the output is visually the same.
#Examples:
You may assume that input is always valid, so if it's not a positive integer, your program may do whatever you want. You do however have to handle the special case of a one-sidedsize 1 hexagon, which happens to be a single asterisk:
You may assume that input is always valid, so if it's not a positive integer, your program may do whatever you want. You do however have to handle the special case of a one-sided hexagon, which happens to be a single asterisk:
You may assume that input is always valid, so if it's not a positive integer, your program may do whatever you want. You do however have to handle the special case of a size 1 hexagon, which happens to be a single asterisk: