title: Print out an error when a decimal is entered in an int
body: <p>I'm writing a program called Revenue, I've satisfied all of the requirements except for one. </p>
  
  <pre><code>  System.out.print("\t Enter quantity(ies): ");
      quantity = keyboard.nextInt();
      if (quantity &lt; 0 || quantity &gt; 150 || quantity == '.'){
  
          System.out.println();
          System.out.println("\t Invalid item price.");
          System.out.println("\t Please run the program again");
          System.out.println();
          System.out.println("Thank you for using \"Temple\" store");
          System.exit(0);
  </code></pre>
  
  <p>We have to ask the user for the quantity of the item they're purchasing and it cannot have a decimal or '.' in it. For example, when the user is asked to input the amount of of items they want to purchase, they will enter the number. If they enter a number with a decimal, it should print out </p>
  
  <pre><code>     Invalid item price.
       Please run the program again
  
  Thank you for using "Temple" store
  </code></pre>