title: How can I print this perfecly aligned in c++?
body: <p><img src="https://i.stack.imgur.com/TjUbt.png" alt="enter image description here" /></p>
  <p>How can I print this code with just enough spaces necessary to make the output organized? I tried <code>/t</code> did not work. I tried to add spaces manually with <code>&quot; &quot;</code>, but since the results change according to the given inputs I could not manage to line it perfectly.</p>
  <p>I will appreciate it if you could help thank you! (Code is in c++)</p>