How to remove a new line for each integer?

85 views Asked by At
#include<iostream>
using namespace std;

int main()
{
    int a, b, c;
    cin >> a >> b >> c;
}

When I compile it, every integer is asked like there is endl between them. How can I write that so the program asks for a, b and c in one line and space between?

0

There are 0 answers