Computer Science, asked by TheVerifiedQuestion, 1 month ago

Java program to find the area and perimeter of square​

Answers

Answered by mirsuhaibfarooq
0

Answer:

/* Java Program Example - Calculate Area Perimeter of Rectangle */

import java.util.Scanner;

public class JavaProgram

{

public static void main(String args[])

{

int len, bre, peri, area;

Scanner scan = new Scanner(System.in);

System.out.print("Enter Length and Breadth of Rectangle : ");

len = scan.nextInt();

bre = scan.nextInt();

area = len*bre;

peri = (2*len) + (2*bre);

System.out.print("Area = " +area);

System.out.print("\nPerimeter = " +peri);

}

}

Answered by sailakv8
0

Answer:

way to be a good morning I am not able to be a good morning I am not able to be a good morning I am not able to be a good morning I am not able

Explanation:

t a for a for a for a for a for a for a for a for a for a for a year of the world of the world of a way that I am your big fan of the ut is the you are not able a way to be the world of

Similar questions