Answer to Question #5074 in C++ for hamza shafique
write c++ programe that can solve the equqtion a*x*x*x+7?
1
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!
Learn more about our help with Assignments:
C++
Comments
Leave a comment