Let Us See C language
Python
Home
Training Classes
Data Structures in C
C Interview Questions
Advance Data Structures
Projects in CPP
CPP Programs
Java Programs
JDBC
Projects
Algorithms and Flow Charts
C Programs
CORE JAVA
SAP(ABAP)
Software Engineering
Data Structures
CPP
RDBMS
DCCN
Operating System
print
Print this post
Friday, 19 November 2010
c program for print the *'s in the following format
*
**
***
#include<stdio.h>
void main()
{
int i,j,k;
i=0;
printf("enter no of rows\n");
scanf("%d", &i);
for(j=0;j<i;j++)
{
printf("\n");
for(k=0;k<=j;k++)
printf("*");
}
}
flow chart for to print the *'s in the following format
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment