#include<iostream>
using namespace std;

// Pre-condition: input integer variable
// already initialized
// Post-condition: value in input variable
// has been quadrupled
void quadruple(int& inNum);


int main()
{
 int input;

 // Get number form user
 cout << "Give me a number: ";
 cin >> input;

 // quadruple number and report it
 quadruple(input);
 cout << "Number quadrupled is " << input << endl;

 return 0;
}


// Function to quadruple number in variable
// passed in
void quadruple(int& inNum)
{
 inNum*=4;
}