Answer to Question #17859 in C++ for mekki

Question #17859
Write a function to calculate x2
1
Expert's answer
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS