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
‹
›
Home
View web version
No comments:
Post a Comment