C programming
Web tutorials on C programming
Pages
Home
plsql
Web development
minor projects
java programming
Python Programming
Thursday, 27 October 2016
c program to print the following pattern
#include<stdio.h>
#include<conio.h>
int main()
{ int a,c,b;
clrscr();
for(a=8;a>=2;a=a-2)
{
for(c=1;c<=a;c++)
{
printf("%d",c);
}
printf("\n");
}
getch();
}
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment