
如有帮助,请采纳。点击我回答右上角【采纳】按钮。
public class Test{
public static void main(String[] args) {
double minPermiter=20;
double length=minPermiter/4;
double maxLength=2*length;
System.out.println("正方形周长为:"+4*maxLength+"厘米");
}
}