Skip to content

mohib42/Clean-Java-Programs-DisplayPattern-and-Rectangle

Repository files navigation

Java Programs: DisplayPattern & Rectangle

DisplayPattern.java — prints a specific pattern on the screen.

Rectangle.java — calculates and displays the area and perimeter of a rectangle.

🧠 Description

This Java program prints a simple pattern made up of the letters J, A, and V, forming the word JAVA in a stylized way. It demonstrates how to use multiple System.out.println() statements to align text in a console.

  1. Rectangle.java Description

This program calculates and prints the area and perimeter of a rectangle. It demonstrates simple arithmetic and variable handling in Java.

Formula Used Area = width × height
Perimeter = 2 × (width + height)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages