HNDIT
Monday, December 17, 2012
STAR PRINTING 2 IN C++
#include<iostream.h>
void main()
{
int count,i;
for(count=10;count>=0;count--)
{
for(i=count;i>=0;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