题解 2774: 计算三角形面积

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

题目2774:计算三角形面积

解题思路:注意事项:参考代码:#include#includeintmain(){floatx1,y1,x2,y2,x3,y3;doublep,s,a,b,c;scanf("%f%f%f%f%f%f",&x1,

java-计算三角形面积

```javaimportjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Scannersc=newScanner(System.in);doublex1=sc.nextDouble(),

计算三角形面积

摘要:#include<stdio.h>#include<math.h> //主要是用pow函数double changdu(double x1,double x2,double y1,double y2)……

已知三点求面积

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ float x1, y1, x2, y2, x3, y3; scanf("%……

计算三角形面积

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double distance(float x1, float y1, float x2, float ……

海伦公式计算三角形面积

摘要:解题思路:注意事项:计算值要设置为double参考代码:#include<stdio.h>#include<math.h>double distance(float x1, float y1, flo……