Search:

Type: Posts; User: Reynalto

Search: Search took 0.07 seconds.

  1. Replies
    3
    Views
    6,015

    Re: Programming a power table

    I've replaced the "i^j" with Math.pow(i,j).

    In the run window I get all of the values in double as Math.pow returns the numbers as type double. How can I convert it to int? I do it by type casting...
  2. Replies
    3
    Views
    6,015

    Programming a power table

    I'm a beginner at java and one of my assignments is to make a table like a times table but instead of a times table it's a power table
    example:

    1 2 3 4 5
    2 4 8 16 25
    3...
  3. New to Java I need help with a simple mistake

    import javax.swing.JOptionPane;
    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */

    package IntegerOperationsAssignment;

    /**
    *
Results 1 to 3 of 3