0% found this document useful (0 votes)
4 views6 pages

Java Exercise 4 - 1

The document outlines various star pattern programs in Java, including a mirrored right triangle, diamond shape, reversed pyramid, and an alphabet 'A' pattern. It provides a prompt for user input to specify the number of rows for the patterns. The focus is on demonstrating different ways to create visual patterns using stars in programming.

Uploaded by

Aunt Phone Kywe
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views6 pages

Java Exercise 4 - 1

The document outlines various star pattern programs in Java, including a mirrored right triangle, diamond shape, reversed pyramid, and an alphabet 'A' pattern. It provides a prompt for user input to specify the number of rows for the patterns. The focus is on demonstrating different ways to create visual patterns using stars in programming.

Uploaded by

Aunt Phone Kywe
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Mirrored Right Triangle Star Program

Diamond Shape Pattern Program in Java

Enter the number of rows: 5


Reversed Pyramid Star Pattern
Alphabet A Pattern

You might also like