0
Pl tell me the way to put space between two integers in c++
4 Answers
+ 7
string a = a + " " + b;
+ 3
1. string a="1 2";
2. cout<<a<<" "<<b;
can not be possible to contain a space in two integers. it is not a data type.
if any other way, first try on compiler then mention.
+ 1
thanks
0
through this there will be space in iutput