noexit4u.com
Pages
(Move to ...)
Home
C Program List
Java Program List
Miscellaneous
Upload
Contact Us
Disclaimer
▼
Category
C Program
HD Wallpaper
HjSplit
Java Program
Mozilla Firefox
Tutorials
Video
VLC
Windows
Adsense responsive
Saturday, 16 February 2013
C PROGRAM: TO PRINT PATTERN OF 12345
CODING:
#include<conio.h>
#include<stdio.h>
void main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("%3d",i);
}
printf("\n");
}
getch();
}
CODING
OUTPUT
For any query or suggestion please comment below...
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment