Sample Runs

These runs show how your program should perform:

john@vega: a.out

This program makes diagrams that look like
tiled surfaces.  The user enters two positive integers
representing the desired length and width of the pattern
and the program writes the diagram on the screen.

How many tiles LONG would you like the pattern to be? 3
How many tiles WIDE would you like the pattern to be? 5

============================================
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
============================================
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
============================================
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
============================================

john@vega: a.out

This program makes diagrams that look like
tiled surfaces.  The user enters two positive integers
representing the desired length and width of the pattern
and the program writes the diagram on the screen.

How many tiles LONG would you like the pattern to be? 2
How many tiles WIDE would you like the pattern to be? 7

==============================================================
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
==============================================================
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||*||&&&&||
==============================================================