title: Printing The Days of The Week In Java
body: <p>I'm trying to print this: </p>
  
  <pre><code>Sun  Mon  Tue  Wed  Thur  Fri  Sat
    4    3    8    5     4    4    8
  </code></pre>
  
  <p>With a user's input of the hours that they worked each day on the same line so then the total hours worked can be calculated, but I'm not even sure if that's possible. Here's a snippet of my current code:</p>
  
  <pre><code>System.out.println("\t"+"\t"+"\t"+"\t"+"\t" + "Sun" + "\t" + "Mon" + "\t" + "Tue" + "\t" + "Wed" + "\t" + "Thur" + "\t" + "Fri" + "\t" + "Sat");
          for (int j = 0; j &lt; hoursWorkedPerDay.length; j++) {
              System.out.print("Enter hours worked for Employee " + (j+1) + ":"+ "\t" + " " + " ");
  
              for (int k = 0; k &lt; hoursWorkedPerDay[0].length; k++) {
                  hoursWorkedPerDay[j][k] = scan.nextInt();
              }
          } // End of for loop
  </code></pre>
  
  <p>And my current output:</p>
  
  <pre><code>Enter the number of Employee: 2
  Enter the name of the employee 1: jeff
  Enter the name of the employee 2: lita
                                      Sun Mon Tue Wed Thur Fri Sat
  Enter hours worked for Employee 1:    4
  6
  7
  5
  8
  7
  9
  Enter hours worked for Employee 2:    3
  4
  ......
  </code></pre>
  
  <p>My question is, is this possible or would I have to just print each vertically? Thanks!</p>