Education for ALL
Pages
C
C++
MP
NM
CG
COA
CN
DBMS
Crypto
IP
SE
SPM
DSA
OS
MC
C Program to Print Pyramids and Triangles using LOOPS
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
for(i=1;i<=9;i++)
{
for(j=1;j<=i;j++)
printf("%d\t",i);
printf("\n");
}
getch();
}
OUTPUT:
C Program to Check whether a Number is Palindrome or Not >>
No comments:
Post a Comment
Newer Post
Older Post
Home
No comments:
Post a Comment