title: (Beginner) - How to I write decimal calc and print results?
body: <p>this is the question.</p>
  
  <ol>
  <li>Write a Java program to declare two integers and demonstrate the use of
  addition, subtraction, multiplication, division and modulo operators.</li>
  <li>Repeat the calculations from task 1 using decimal numbers.</li>
  </ol>
  
  <hr>
  
  <p>So I've done part one:</p>
  
  <pre><code>public static void main(String[] args)
  {
      float a = 4 + 1;
      float b = 484 - 48;
      float c = 484 * 49;
      float d = 32 / 93;
      float e = 55 % 787;
  
      System.out.print(a + "\n" + b + "\n" + c + "\n" + d + "\n" + e);
  }
  </code></pre>
  
  <p>but I'm stuck in part two.</p>