Answer to Question #17859 in C++ for mekki
Write a function to calculate x2
1
2012-11-06T10:18:26-0500
#include <iostream>
using namespace std;
double x2(double value)
{
return value*2;
}
int main ()
{
cout<< x2(144)<< endl;
system("pause");
return0;
}
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