Recitation Topic: Diamond


Date: 10/07/2005

Write a program that asks the user for an odd integer (assume the user enters an integer, but check that it's odd) and draw an appropriately sized diamond of asterixes where the width of the diamond is the user's odd integer.

Example:

Please enter an odd integer: 7
   *
  ***
 *****
*******
 *****
  ***
   *