【C/C++題目】輸入三角形ABC的三個角座標, 輸出三角形ABC的面積

文章目錄 1、實現代碼 2、運行效果 利用海倫公式求三角形面積,所以先利用兩點距離公式求得邊長,便可求出面積ios 1、實現代碼 #include <iostream> #include <cmath> using namespace std; int transform(char* str, int* coord); //提取數字函數 double length(int* a, int* b)
相關文章
相關標籤/搜索