首页 > 其他分享 >三角型面积 area=1/2*bottom*high

三角型面积 area=1/2*bottom*high

时间:2022-10-04 18:11:51浏览次数:37  
标签:area double bottom high 三角型 public

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

相关文章