0

I want pattern program

pattern is * ** *** **** *****

7th Dec 2016, 10:41 AM
kapil mulchandani
kapil mulchandani - avatar
1 Resposta
0
it can b done using looping.. eg: for(i=0;i<=20;i++) { for(j=0; j<=20;j++) { while(j<i) { document.write("*"); } } document.write("\n"); }
12th Dec 2016, 7:53 AM
Rithu.O.R