Draw Square

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Draw Square

Goal
Draw a square according to the given information.

Input
Line 1: Two integers separated by a space, the width and the height.

Line 2: Three characters separated by a space, the corner character, the outline character and the
inside character.

Output
A square with all the given formatting.

Constraints
No constraints.

Example
Input

3 5
@ # $

Output

@#@
#$#
#$#
#$#
@#@

You might also like