小弟新上路,求各位大侠帮忙看下这段代码在哪里出错了。谢谢!
//exercise_06.cpp* #include <iostream>
using namespace std;
int main()
{
float d=0,a=0,b=0,c=0;
cin >> a >> b >> c >> endl;
cout << "a=" << a << "b=" << b << "c=" << c << endl;
d=a*a+b*b+c*c;
cout << "d=" << d << endl;
return 0;
}