Answer to Question #5074 in C++ for hamza shafique

Question #5074
write c++ programe that can solve the equqtion a*x*x*x+7?
1
Expert's answer
2011-11-10T09:35:37-0500
// Solvetheequation.cpp : Defines the entry point for the console
application.
//

#include "stdafx.h"
#include "conio.h"
#include
<iostream>

using namespace std;

int _tmain(int argc, _TCHAR*
argv[])
{
double a,x;
cout<<"Enter a=
";
cin>>a;
cout<<"Enter x=
";
cin>>x;
cout<<(a*x*x*x+7);
getch();
return
0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS