![]() |
#2
blueboy820062008-10-29 22:18
|
#include <iostream>
#include <cmath>
using namespace std;
int main()
{float a,b,c;
cout<<"input a and c:";
cin>>a>>c;
b=sprt(c*c-a*a);
cout<<"b="<<b<<endl;
return 0;
}