#include <iostream>
using std::cout;
using std::cin;
using std::endl;
int main()
{
const int TOTAL = 3;
float arr[TOTAL];
cout << "Enter 3 float numbers:" << endl;
for (int i = 0; i < TOTAL; i++)
cin >> arr[i];
for (int i = 0; i < TOTAL; ++i)
cout << arr[i] << ' ';
cout << endl;
return 0;
}
/*
run:
Enter 3 float numbers:
3.14
9.2
1.79
3.14 9.2 1.79
*/