C++ Printing exactly what the user entered : <p>I am trying to print an array that has values like 3.0, 1, 2, 4.00, 40.000
so for example i want to save exactly what the user enters and prints it, like if for the first field they enter 1, it will print 1, if they enter 2.0 it will print 2.0 and the same goes for the other values.</p>
