Q:

Loop prints same statement multipule times on same line

This question seems very trivial but need help with my for loop printing the same thing on the same line separated by a space. 
    int i;
for (i = 0; i < 3; i++)
    cout << "Can you help me print this on the same line with spaces." << endl;

A:

The endl or rather, std::endl is what's creating a new line so just remove that from the loop and remember to leave a trailing space if you want them to be spaced.

