import java.util.Scanner;
public class demo1
{
public static void main(String args[])
{
Scanner input= new Scanner(System.in);
System.out.println("Enter the height:");
double d1= input.nextDouble();
System.out.println("Enter the breadth:");
double d2= input.nextDouble();
double area=(d1*d2) ;
System.out.println("Area of Parallelogram is: " + area);
}
}Java
Program To Find Area of Parallelogram.

Written by
View ProfileNikhil Juneja
Passionate software developer and technical contributor at TutorialsLink.
