how to print String as pattern ?

how to print String as pattern ?

i have a one String name ="rajesh" i want to print pattern like r * ra ** raj


raje
rajes
rajesh

please help me..

View Answers









Related Tutorials/Questions & Answers:

Ads