please help! i am VERY new at this. why are the cout statements printing horizontally and the cin statements printing vertically?
here is my code for this part:
cout << "apples\t" << "bananas\t" << "oranges\n";
cin >> apples; cin >> bananas; cin >> oranges;
it prints on the screen like this:
apples bananas oranges
10
20
30
i want it to line up like this:
apples bananas oranges
10 20 30
thanks for any help!