Pages
Home
C++/C- Programs
DOS Commands
BS Communication
Mathematics
Advertisement
About Us
Contact us
Sunday, December 9, 2012
WAP to print pattern 30
#include<stdio.h>
#include<conio.h>
void main()
{
char a=122;
int i,j;
clrscr();
for(i=4;i>0;i--)
{
for(j=4;j>0;j--)
{
printf("%c",a);
a--;
}
printf("\n");
}
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment