0

How do i write a program where i need to enter three values using one "cin"?

22nd Jun 2018, 6:09 PM
David Nyamai
2 Antworten
+ 11
You can also do: cin >> a >> b >> c;
22nd Jun 2018, 9:28 PM
A Fox
A Fox - avatar
+ 2
this should do: cin >> x, y, z;
22nd Jun 2018, 6:37 PM
ghali lawal
ghali lawal - avatar