You can add the inputData to the fifth row of results by the following code.
However, this gives an error since the number of columns are different in results and inputData.
You may try either of the following before using above code
- Remove volume element from inputData (This makes number of columns = 4)
- Add a column of volumes to the results array (This makes number of columns = 5)