I am going to input 2 different values in 1 line, how can i do that?
if i use:
cout << "Enter the value x: ";
cin >> x;
cout << "Enter the value y: ";
cin >> y;
the output:
Enter the value x: 8
Enter the value x: 6
how can i do that(the output):
Enter the value of x and y: 8 6
thanks