Minor Changes

This commit is contained in:
2021-06-20 23:40:31 +05:30
parent f013cd2c3e
commit 53884ef708

View File

@@ -18,7 +18,7 @@ abstract class Shape {
class Rectangle extends Shape { class Rectangle extends Shape {
void printArea() { void printArea() {
System.out.println("* Finding the Area of Rectangle *"); System.out.println("** Finding the Area of Rectangle **");
System.out.print("Enter length and breadth: "); System.out.print("Enter length and breadth: ");
length = input.nextInt(); length = input.nextInt();
breadth = input.nextInt(); breadth = input.nextInt();