PATTERN 4

/* CLICK THE PICTURE TO ENLARGE IT/*


#include<stdio.h>
#include<conio.h>
void main()
{
int n,i,j;
clrscr();

printf("enter a number");
scanf("%d",&n);
for(i=1;i<=5;i++)
{
for(j=5;j>=i;j--)
{
printf("%d",i);
}
printf("\n");
}
getch();
}


SIMPLE PROGRAMS
FUNCTIONS


NUMBERS


STRINGS AND CHARACTERS




Comments