title: How to calculate Cell phone bill in java, calculation issues
body: <p>My task is to calculate monthly cell phone bill in java, I am new to java and am still learning. I can't seem to understand the calculations and how to get there. I have named all variables and constants and initiliazed them, now I just need to make the calculations to find the cost of the total bill. the output i'm trying to reach is : run: minutes used = 675 text messages sent/recieved = 1031 data used = 605 megabytes. DO you have a data play? (Y/n) : Y Do you have a text message plan (y/n)?: Y 
  Monthly cell phone charges : Monthly plan = 39.99 Text message plan = 15.00 Data plan = 20.00 Addidtional minutes charged = 79.85 charge for data overage = 40.00</p>
  
  <pre><code>public static void main(String[] args) {
          // TODO code application logic here
          Scanner user_input = new Scanner(System.in);
  
          final double MONTHLY_PLAN_VOICE;
          final int ALLOWABLE_MINUTES;
          final double ADDITIONAL_MINUTE_RATE;
          final double TEXT_MSG_PLAN;
          final double TEXT_MSG_RATE;
          final double DATA_PLAN_RATE;
          final int ALLOWABLE_DATA_INCR;
  
          MONTHLY_PLAN_VOICE = 39.99; //double cause of decimal
          ALLOWABLE_MINUTES = 500; // int because no need for decimal
          ADDITIONAL_MINUTE_RATE = 0.45; // has decimal 
          TEXT_MSG_PLAN = 15.00; // rate could very depending on user input(double)
          TEXT_MSG_RATE = 0.12; // rate could very depending on user input (double)
          DATA_PLAN_RATE = 20.00; // double cause of decimal
          ALLOWABLE_DATA_INCR = 300; //int cause its an increment
  
          String minutes;
          System.out.print("Enter the number of minutes used this month: ");
          minutes = user_input.next();
          String texts;
          System.out.print("Do you have a text message plan? (Y/N): ");
  
          texts = user_input.next();
          System.out.print("Enter the number of sent and recieved texts: ");
          texts = user_input.next();
          String data;
          System.out.print("Do you have a Data plan? (Y/N): ");
          data = user_input.next();
          System.out.print("Enter the amount of Data used: ");
          data = user_input.next();
  
  
  
          if (ALLOWABLE_DATA_INCR &lt; 300) 
          {
          System.out.print("The Cost of data is 20.00$ ");
          }
          else 
          {    
          System.out.println("The cost of data is 40.00$" );
          }
  
  
          if (ALLOWABLE_MINUTES &gt; 500)
          {
          System.out.print("");
          }
  </code></pre>