已知底边和高求三角形面积java

编写程序 计算底边为5,底边上高为5的三角形的面积,并将结果打印在屏幕上

public class DemoApplication {

    public static void main(String[] args) {
        System.out.println("面积是:" + 5 * 5 / 2);
    }

}

  public static void main(String[] args) {
        System.out.println("三角形的面积为:"+5*5/2);
    }