Search:

Type: Posts; User: Rara

Search: Search took 1.40 seconds.

  1. Replies
    8
    Views
    230

    Re: What's wrong with my code?

    I contacted my teacher and the solution to my problem was this:

    Output.setText(Output.getText() + Base + " to the exponent " + x + " = " + Math.pow(Base,x) + "\n");

    I appreciate all of the time...
  2. Replies
    8
    Views
    230

    Re: What's wrong with my code?

    I tried it with your code it worked but it went into the console rather than the application. When I used System.setText(); only one line shows up and I'm not sure why. When I use your code it will...
  3. Replies
    8
    Views
    230

    Re: What's wrong with my code?

    Yah the code will only print out one line, and setText(); is just to output the code into the designated output area, I'm using netbeans. I've tried System.out.println(); but the same thing happens,...
  4. Replies
    8
    Views
    230

    What's wrong with my code?

    Hello, I'm working on my Computer Science project but I can't figure out what's wrong with my code!


    for (int x = 1; x <= Expo; x++)
    {
    for (int i = 1; i <= Expo; i++)
    ...
Results 1 to 4 of 4