// Another void function
#include <iostream>
using namespace std;

void printParts (float x) {
   int i = int(x);
   float r = x - int(x);

   cout << "The number : " << x << endl;
   cout << "int part   : " << i << endl;
   cout << "real part  : " << r << endl;
}

int main ()
{
  float a = 13.72;

  printParts(a);

  return 0;
}
