title: Printing parallel arrays that contain different types of data to a file
body: <p>so I'm trying to print data from 4 different arrays in this form:</p>
  <pre><code>Alex 599659008.00 19701112 2010
  Mark 599232832.00 19702315 2015
  Ali 59965680.00 197012415 2020
  </code></pre>
  <p>as you can see there are 4 arrays 2 contain integers, 1 float and 1 contain names (which's a multidimensional array) so how can I print them to a file like that form.
  the arrays are defined like this:</p>
  <pre><code>char names[MAXSIZE][MAXSIZE];
  int stdID[MAXSIZE];
  float phones[MAXSIZE];
  int registrationYear[MAXSIZE];
  </code></pre>