Ascii Stars

Question

Write a program that produces the following output giving integer input n.

Problem 1

n=3   n=4    n=6
*     *      *
**    **     **
***   ***    ***
      ****   ****
             *****
             ******

Problem 2

n=3    n=4      n=6
  *      *        *
 **     **       **
***    ***      ***
      ****     ****
              *****
             ******

Problem 3

n=1    n=2      n=3    	  n=4       n=5
*       *        *         *         *
       * *      * * 	  * *       * *
               *   *	 *   *     *   * 		    
                        *     *   *     *
                                 *       *

Problem 4

n=1	n=2	n=3	n=4     n=5
*	**	* *	*  *	*   *
	**	 * 	 **      * *
		* *	 **       *  
			*  *	 * *
				*   *

Problem 5

*    *     *     *      *          *
     *    ***   ***    ***        ***
           *    ***   *****      *****
                 *     ***      *******
                        *      *********
                                *******
                                 *****
                                  ***
                                   *