Skip to content

PraveenM190106/Pattern_java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Pattern-Design-Generator

πŸ“Œ Description The Pattern Design Generator is a Java-based console application that allows users to generate multiple text-based patterns dynamically. The program provides 20 different pattern designs including geometric shapes, pyramids, diamonds, number patterns, alphabet patterns, and hollow structures. Users can select the pattern type, pattern content (star, number, or character), and size of the pattern. The application runs in a loop-based menu system, allowing multiple executions without restarting the program. This project demonstrates strong understanding of Java fundamentals, loops, conditional statements, switch-case logic, and modular programming.

πŸš€ Features

20 Different Pattern Designs Star (*) Pattern Support Number Pattern Support Custom Character Pattern Support Hollow Pattern Designs Pascal Triangle & Floyd’s Triangle Alphabet Diamond & Character Pyramid Menu-driven program Loop-based restart option Clean and structured code Input validation handling

πŸ› οΈ Technologies Used

Java (Core Java) OOP Concepts Loops (for, nested loops) Switch-Case Conditional Statements

πŸ“‚ Project Structure

Pattern-Design-Generator/ β”‚ β”œβ”€β”€ src/ β”‚ └── Pattern.java β”‚ β”œβ”€β”€ README.md ▢️ How to Run

Clone the repository:

git clone https://github.com/your-username/Pattern-Design-Generator.git Open the project in any Java IDE (VS Code / IntelliJ / Eclipse)

Compile the program: javac Pattern.java

Run the program: java Pattern

Enter: Number of rows Pattern content type Pattern design type Continue option (y/n)

πŸ“š Available Pattern Designs

Square Right Triangle Inverted Triangle Pyramid Inverted Pyramid Diamond Hollow Square Floyd’s Triangle Pascal Triangle X Pattern Z Pattern Butterfly Pattern Number Pyramid Character Pyramid Hollow Triangle Hollow Pyramid Inverted Hollow Pyramid Hourglass Pattern Zigzag Pattern Alphabet Diamond

🎯 Learning Outcomes

Mastering nested loops Understanding pattern logic Improving problem-solving skills Writing structured menu-driven programs Applying reusable methods

πŸ‘€ Author

Praveen πŸŽ“ Student | Aspiring Java Developer πŸ’» Passionate about backend development and problem-solving πŸš€ Continuously building Java-based console applications

About

"A Java program that generates and displays various user-defined patterns using loops, helping understand nested loops, logic flow, and visual output formatting in console applications."

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages