Sample OUTPUT
PPPPPPPPP
P P
P P
P P
pp
JJ
J
J
J
JJJJJJJJJJJ
DDDDDDDDDD
D D
#include<stdio.h>
#include<stdlib.h>
void line()
{
int i,j;
printf("\n");
for(i=1;i<=42;i++)
printf("=");
}
void header()
{
printf("\n");
printf("Built and Designed by Arslan Malik\n\n www.CworldbyAS.blogspot.com");
printf("\n");
}
int main()
{
line();
header();
line();
printf("\n PPPPPPPPP \n");
printf(" P P \n");
printf(" P P \n");
printf(" P P \n");
printf(" PP \n");
printf("\n");
printf(" JJ \n");
printf(" J \n");
printf(" J \n");
printf(" J \n");
printf(" JJJJJJJ \n");
printf("\n");
printf(" DDDDDDDDD \n");
printf(" D D \n");
printf(" D D \n");
printf(" D D \n");
printf(" DDDDD \n");
return 0;
}
PPPPPPPPP
P P
P P
P P
pp
JJ
J
J
J
JJJJJJJJJJJ
DDDDDDDDDD
D D
D D
D D
D D D#include<stdio.h>
#include<stdlib.h>
void line()
{
int i,j;
printf("\n");
for(i=1;i<=42;i++)
printf("=");
}
void header()
{
printf("\n");
printf("Built and Designed by Arslan Malik\n\n www.CworldbyAS.blogspot.com");
printf("\n");
}
int main()
{
line();
header();
line();
printf("\n PPPPPPPPP \n");
printf(" P P \n");
printf(" P P \n");
printf(" P P \n");
printf(" PP \n");
printf("\n");
printf(" JJ \n");
printf(" J \n");
printf(" J \n");
printf(" J \n");
printf(" JJJJJJJ \n");
printf("\n");
printf(" DDDDDDDDD \n");
printf(" D D \n");
printf(" D D \n");
printf(" D D \n");
printf(" DDDDD \n");
return 0;
}
No comments:
Post a Comment