第一题 public int findEwordCount (String string) { int countE = 0; for (String word : string.split(" ")) { if (word.contains("e")) { countE++; } } return countE; } 第二题 四边形切成两个三角形就行。当时在想选择的两个三角形面积可能重叠。后来看到题目里有写四个点顺序连接可以构成四边形,所以选p1, p2, p3和p1,p3,p4。这样面积就不会重叠。四舍五入直接加0.5就行。三角形面积计算用海伦公式...