0

The space provided by typing \t is not compatible.i need less space than the space provided by \t .How I get it .

I am typing a program in which the two seperate outputs are their I need to combine them in one line but the space Provided by /t is not comtabile .The out put as follows output: 2016 is leap year. I need the Expected output: 2016 is leap year. My code is X=2016; Count<<X<<"\tis leap year"; I want to remove extra space. Please help me.

26th Apr 2020, 11:53 AM
sagar waghmode
sagar waghmode - avatar
2 ответов
+ 2
what language?
26th Apr 2020, 12:01 PM
Gordon
Gordon - avatar
+ 2
Gordon 'cout' is C/C++ isn't it? sagar waghmode just replace the "\t" (tabulation) by a real space " "
26th Apr 2020, 12:06 PM
visph
visph - avatar