Java Program to find area of rhombus

Source Code:

public class P31 {
public static void main(String[] args) {
double d1 = 6, d2 = 8;
System.out.println((d1 * d2) / 2);
}
}

Output: