If Output is as swing component like JLabel then you can use this setText method to set its text to the output you got earlier.
You just need to use for eg if you are directing your output to be...
Type: Posts; User: hope_08
If Output is as swing component like JLabel then you can use this setText method to set its text to the output you got earlier.
You just need to use for eg if you are directing your output to be...
Hi,
You just need to use one loop that goes until the expo = 10 is reached.
so you need to modify your code as
say if your input variable base = 2 and Expo = 10
for (int x = 1; x <= Expo;...