Saturday, September 3, 2016

// // Leave a Comment

C Program To Print Shapes With Asterisks

Question: Write a program that prints the following shapes with asterisks.
shapes with asterisks program in C
/* 
 * Author: AGHATISE OSAZUWA
 * Website: www.cscprogrammingtutorials.com 
 *
 * Program to print shapes with asterisks.
 */

#include <stdio.h>
int main ( ){
    //Program to print shapes.
    puts("*********            ***                *                 *    \n");
    puts("*       *          *     *             ***               * *   \n");
    puts("*       *         *       *           *****             *   *  \n");
    puts("*       *         *       *             *              *     * \n");
    puts("*       *         *       *             *             *       *\n");
    puts("*       *         *       *             *              *     * \n");
    puts("*       *         *       *             *               *   *  \n");
    puts("*       *          *     *              *                * *   \n");
    puts("*********            ***                *                 *    \n");
    return 0;
}

0 comments:

Post a Comment


DISCLAIMER: Opinions expressed in comments are those of the comment writers alone and does not reflect or represent the views of the post author. We reserve the right to delete any post deemed inappropriate or offensive and/or spammy. Please do not use abusive words/hate speech.

I Appreciate your valuable Feedback. So, Please DO NOT SPAM - Spam comments will be deleted immediately.

Don't use brand name in name field and you're not allowed to use links in comments unless it's necessary. Such comments will be removed immediately.

Thanks.