HNDIT
Monday, December 17, 2012
STAR PRINTING 1 IN C++
#include<iostream.h>
void main()
{
int count,i;
for(count=0;count<=10;count++)
{
for(i=0;i<=count;i++)
cout<<'*';
cout<<endl;
}
}
/*
OUTPUT
*/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment