Printing Numbers Pattern 5,55,555,5555 and so on.

*****For all steps written Together Visit The End Of The Page.********* 

STEP 1:

for i = 1 to 5   

#You can write as many times you want to print**Write your choice instead of 5 ***


STEP 2:

a = a * 10 + 5


STEP 3:

print a 


STEP 4:

Next I




OUTPUT:


***********************************************************************************

For i = 1 to 5

a = a * 10 + 5

print a

next

End





See Also :