Sunday, September 4, 2016

// // Leave a Comment

Solution To C How To Program Exercise 2.25

Question: Print your initials in block letters down the page. Construct each block letter out of the letter it represents, as shown below.
Program sample run

/* 
 * Author: AGHATISE OSAZUWA
 * Website: www.cscprogrammingtutorials.com 
 *
 * Program to print block initials of your name down the page.
 */

#include <stdio.h>
int main ( ){ 
    puts("AAAAAAA");
    puts("    A  A");
    puts("    A   A");
    puts("    A  A");
    puts("AAAAAAA\n ");
    puts("AAAAAAA");
    puts("    A  A");
    puts("    A   A");
    puts("    A  A");
    puts("AAAAAAA\n ");
    puts(" OOOOOOO");
    puts("O       O");
    puts("O       O");
    puts("O       O");
    puts(" OOOOOOO\n");
    return 0;
}
Click here to see other solutions to Deitel C How To Program exercises.

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.