title: How can i print this on the same line without the next line having the number i just put in the beginning?
body: <p>Ok, I am sorry to ask such a dumb question but I am currently confused on how to make this work, most of this is because I am sure I made really redundant mistakes but here is the code:</p>
  
  <pre><code>System.out.print("How many sides does die 1 have? ");
  Die1 = Scan.nextInt();
  System.out.print(Die1);
  
  System.out.print("How many sides does die 2 have? ");
  Die2 = Scan.nextInt();
  System.out.print(Die2);
  </code></pre>
  
  <p>And the output goes like this:</p>
  
  <pre><code>How many sides does die 1 have? 5
  5How many sides does die 2 have? 
  6
  6
  </code></pre>
  
  <p>But what i want is this:</p>
  
  <pre><code>How many sides does die 1 have? 5
  How many sides does die 2 have? 6
  </code></pre>
  
  <p>I am really sorry to ask such a dumb question but I really am confused and need help, thank you to anyone who can help me.
  and if anyone is curious this is my entire code </p>
  
  <p><a href="https://gyazo.com/0823acf164bed258330da95158c2ae26" rel="nofollow noreferrer">https://gyazo.com/0823acf164bed258330da95158c2ae26</a>
  <a href="https://gyazo.com/072076d1a987342b3c915de6c28d2943" rel="nofollow noreferrer">https://gyazo.com/072076d1a987342b3c915de6c28d2943</a> </p>