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...
Type: Posts; User: Rara
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...
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...
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,...
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++)
...