The space provided by typing \t is not compatible.i need less space than the space provided by \t .How I get it . | SoloLearn: Learn to code for FREE!

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.

4/26/2020 11:53:49 AM

sagar waghmode

2 Answers

New Answer

+2

what language?

+2

Gordon 'cout' is C/C++ isn't it? sagar waghmode just replace the "\t" (tabulation) by a real space " "