
Patrick B. answered 11/04/19
Tutor
4.7
(31)
Math and computer tutor/teacher
using namespace std;
#include <iostream>
double timesTen ( double X)
{
return( X*10);
}
int main()
{
double X;
cout << "Enter a number :>";
cin >> X;
cout << " ten times the number " << X << " is " << timesTen(X) << endl;
}