title: Logical issue in application code - total sum isn't correct
body: <p>I am new to Java and I am not even sure what I am doing is possible.<br>
  Do <code>switch</code> <code>case</code> statements and <code>if</code> <code>else</code> statements not play well together?</p>
  
  <p>The requirement of my program is:</p>
  
  <ul>
  <li><p>First ask user for a screen size. If screen size is equals to 13.3, add $200 to the laptop price. If screen size is equals to 15.0 - add $300 to the laptop price. If screen size is equals to 17.3 - add $400 to the laptop price.  </p></li>
  <li><p>Ask the user for the CPU type. If CPU type equals to i3, add  $150 to the laptop price. If CPU type equals to i5, add $250 to the laptop price. If CPU type equals to i7, add  $350 to the laptop price.</p></li>
  <li><p>Ask the user for the RAM size. Add $50 for every 4GB of ram to the laptop price. Then, ask user for storage type. There are 2 options: SSD and HDD. If it's HDD - add $50 to the laptop price for every 500gb.  If it's SSD - add $100 to the laptop price for every 500GB. </p></li>
  <li><p>Ask the user for for the screen resolution. There are 2 options, FULLHD and 4K. Add $100 if it's FULLHD screen and $200 if it's 4K screen.</p></li>
  </ul>
  
  <hr>
  
  <p>Any help on making my code more readable or any other tips you guys can give me are greatly appreciated!</p>
  
  <pre><code>import java.util.Scanner;
  
  public class laptopConfigurator {
  
      public static void main(String[] args) {
  
          String screenSize = "";
          String cpu = "";
          int ram = 0;
          String storageType = "";
          String screenResolution = "";
          int memorySize = 0;
          double total= 0.0;
  
          Scanner scan = new Scanner(System.in);
  
          System.out.print("Select screen size:");
          screenSize = scan.next(); 
          switch(screenSize){
  
              case("13.3"):
              total += 200;
              break;
  
              case("15.0"):
              total += 300;
              break;
  
              case("17.3"):
              total += 400;
              break;
  
              default: System.out.println("Invalid choice");
          }
  
          System.out.print("Select CPU type:");
          cpu = scan.next();
          switch (cpu){
  
              case("i3"):
              total += 150;
              break;
  
              case("i5"):
              total += 250;
              break;
  
              case("i7"):
              total += 350;
              break;
  
              default: System.out.println("Invalid choice");
          }
  
          System.out.print("Select RAM size:");
          ram = scan.nextInt();
          total = total + ram * 50;
  
          System.out.println("Select storage type:");
          switch(storageType){
  
              case "SSD":
              storageType = "SSD";
              break;
  
              case "HDD":
              storageType = "HDD";
              break;
  
              default: System.out.println("Invalid choice");
          }
          System.out.println("Enter memory size:");
  
          memorySize = scan.nextInt();
  
          if (storageType.equals("SSD")){
              memorySize = memorySize * 100;
              total = total + memorySize;
          }else if (storageType.equals("HDD"));
              memorySize = memorySize * 50;
  
          total = total + memorySize;
  
          System.out.println("Enter screen resolution");
          screenResolution = scan.next();
          if (screenResolution.equals ("FULLHD")){
              total = total +100;
          }else if (storageType.equals("4K"));
              total = total +200;
  
          System.out.println("Laptop price is: "+ total);
      }
  }
  </code></pre>