Print a below Pattern :
*****
***
**
*
Answer:
Dim y,z,i,j
y="*"
z=" "
For i=5 to 1 step-1
For j=i to 1 step-1
z=z&" "&y
Next
print z
Note: only a member of this blog may post a comment.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.