sujana-kamasany / javacodes

A repository that will guide in making your first contribution.
29 stars 111 forks source link

Create reverseStarPyramidPattern.java #172

Closed Diptigit11 closed 11 months ago

Diptigit11 commented 11 months ago

This Java code prints a reverse pyramid pattern of stars. It uses nested loops to control the number of spaces and stars on each row. The outer loop determines the row, and as it counts down from the specified height (n), the number of spaces decreases while the number of stars increases. This results in a reversed pyramid pattern with stars. You can adjust the n variable to change the height of the reverse pyramid.

Diptigit11 commented 11 months ago

59 Please review my code and merge it