请问此程序有何错误?
#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;
}
2008-10-29 22:14
2008-10-29 22:18
2008-10-29 22:22

2008-10-30 14:21
2008-10-30 22:52
2008-11-01 22:23