63 083
Assignments Done
99,1%
Successfully Done
In July 2018

Answer to Question #17859 in C++ for mekki

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

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions