10.05.2013

Flag Structure Design

Q. Write a C program to print the following flag design as:

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

Ans.

/*c program for flag design*/
#include<stdio.h>
int main()
{