Question: Write a program that prints the following shapes with asterisks.
1 2 |
/* <br /> * Author: AGHATISE OSAZUWA<br /> * Website: www.cscprogrammingtutorials.com <br /> *<br /> * Program to print shapes with asterisks.<br /> */<br /><br />#include <stdio.h><br />int main ( ){<br /> //Program to print shapes.<br /> puts("********* *** * * n");<br /> puts("* * * * *** * * n");<br /> puts("* * * * ***** * * n");<br /> puts("* * * * * * * n");<br /> puts("* * * * * * *n");<br /> puts("* * * * * * * n");<br /> puts("* * * * * * * n");<br /> puts("* * * * * * * n");<br /> puts("********* *** * * n");<br /> return 0;<br />}<br /> |