Computer Science, asked by RoyalBoy007, 1 year ago

write a javascript program to display

* * * * *

* * * *

* * *

* *

*

Answers

Answered by msndipapal
1

class pattern {

void main(String [] args) {

for(int i = 5 ; i < = 1 ; i--) {

for(int j = 1 ; j < = i ; j++)

System.out.print( " * " );

System.out.println( );

} } }

Please mark as Brainliest


RoyalBoy007: i need javascript program
Similar questions