#include
<iostream>
using
namespace std;
int main ()
{
//B,x,y=constante.
float B;
float x;
float y;
cout<<
"loa cata-o rusell" << endl;
cout<<"introdusca x" << endl;
cin>> x;
cout<< "introdusca y" << endl;
cin>> y;
cout<< "el valor de B es" << endl;
float x2=x*x;
float y2=y*y;
B=(x2+y2)/(x+y);
cout<<
"B"<<"="<<"("<<x2<<"+"<<y2<<")"<<"/"<<"("<<x<<"+"<<y<<")"<<"="<<B<<
endl;
system ("pause");
return 0;
}
Te falta 4 ejercicios
ResponderEliminarPublicalos
09/11/2012