title: cannot convert from "void" to "int"
body: <p>Cannot convert from "void" to "int" in C++ - anyone know why? is there a function i have to use?</p>
  
  <pre><code>int calc_tot,go2;
  go2=calculate_total(exam1,exam2,exam3);
  calc_tot=read_file_in_array(exam);
  </code></pre>