#include <iostream>
#include <cmath>
using namespace std;
int main () {
double a, b, c, s, area; //定义变量
a = 3; //对变量赋值
b = 5;
c = 7;
s = (a + b + c) / 2; //对a、b和c取值进行计算,计算结果赋值给s
area = sqrt(s * (s - a) * (s - b) * (s - c));
//对a、b、c和s取值进行计算,计算结果赋值给area
cout << "Area = " << area << endl; //对area取值用于输出
return 0;
}