title: My print line is not workng
body: <p>Ok so I have a problem where my program's string characters doesn't want to change.</p>
  
  <p>Eg. This is my code here</p>
  
  <pre><code> System.out.println("~~~~~WELCOME~~~~~");
  
        do{
            do{
              System.out.println("\nPlease enter item code");
                System.out.print("#");
              itemCode = br.readLine();
              itemCodeCorrect = isItemCodeCorrect(itemCode);
  
              }while(!itemCodeCorrect);
  
            do{
  
  
              System.out.println("\nPlease enter item description");
              itemDesc = br.readLine();
  
              itemDescCorrect = isItemDescCorrect(itemDesc);
  
  
  
               }while(!itemDescCorrect);
  
  
            do{
  
            try{
              System.out.println("\nPlease enter item weight");
              itemWeight = Double.parseDouble(br.readLine());
  
  
            }catch(NumberFormatException ex){
  
  
                System.out.println("\n" +ex +"\nInvalid input. Item must be in a number format. Please try again");
                }  
  
            }while(itemWeight == 0);
  
  
  
  
  
  
            do{
                try{
              System.out.println("\nPlease enter the item price");
  
              itemUnitPrice = Double.parseDouble(br.readLine());
                   }catch(NumberFormatException ex){
  
                    System.out.println("\n" +ex +"\nInvalid input. Item must be in a number format. Please try again.");
                                                    }
  
              }while(itemUnitPrice == 0);
  
  Allitems = new Items(itemCode, itemDesc, itemWeight, itemUnitPrice, quantity, Total, TotalCost, TotalWeight);
  v.add(Allitems);
  </code></pre>
  
  <p>but when I run my program the changes I made in the print line does appear when I run it.</p>
  
  <p>OUTPUT-----------------</p>
  
  <pre><code>~~~~~WELCOME~~~~~
  
  Enter item code
  #kza
  
  Enter item description
  peas
  
  Enter item weight
  2.2
  
  Enter item price
  $
  </code></pre>