#include "iostream"
using namespace std;
float Calculating_a(float x, float y)
{
return (pow(x,5) + pow(y,6)/3);
}
int main()
{
float x, y;
cout << "Enter x: ";
cin >> x;
cout << "Enter y: ";
cin >> y;
cout << "a : " << Calculating_a(x, y) << endl;
system("pause");
return 0;
}
Just for a (I don't have formula for b)
Comments
Leave a comment