program that asks user to input 12 numbers of any type
or domain (i.e. positive or negative) and record user's responce into an
Process the input by manipulating it so that the numbers are arranged in
the array in an ascending order (e.g. -1.2, -1, 0, 3, 4, 4.05, 4.1, 5).
After the manipulation is complete, print the resulting values in the
array in one line. i wrote it this much so far
using namespace std;
int main ()
for ( i = 0; i < 12; ++i )
cout << "Enter values #" << i + 1 << ": ";
cin >> x;
but i need help with array part and printing part..