Question: Print your initials in block letters down the page. Construct each block letter out of the letter it represents, as shown below.
1 2 |
/* <br /> * Author: AGHATISE OSAZUWA<br /> * Website: www.cscprogrammingtutorials.com <br /> *<br /> * Program to print block initials of your name down the page.<br /> */<br /><br />#include <stdio.h><br />int main ( ){ <br /> puts("AAAAAAA");<br /> puts(" A A");<br /> puts(" A A");<br /> puts(" A A");<br /> puts("AAAAAAAn ");<br /> puts("AAAAAAA");<br /> puts(" A A");<br /> puts(" A A");<br /> puts(" A A");<br /> puts("AAAAAAAn ");<br /> puts(" OOOOOOO");<br /> puts("O O");<br /> puts("O O");<br /> puts("O O");<br /> puts(" OOOOOOOn");<br /> return 0;<br />}<br /> |
Click here to see other solutions to Deitel C How To Program exercises.