package cn.it.chapter03;
public class IT02 {
public static void main(String[] args) {
// TODO Auto-generated method stub
double area;
double bottom;
bottom=4;
double high;
high=6;
area=(bottom*high)/2;
System.out.println("area="+area);
}
}
标签:area,double,bottom,high,三角型,public From: https://www.cnblogs.com/RZXL00000/p/16736653.html