(adsbygoogle = window.adsbygoogle || []).push({});
So i am just starting to learn java, and i made a pretty good calculator all by myself with no tuts, just the code and the definition of what it does, but i cannot figure out how to make it look to the beginning after i am finished, so i do not have to restart it each time. Does anyone know?
So i am just starting to learn java, and i made a pretty good calculator all by myself with no tuts, just the code and the definition of what it does, but i cannot figure out how to make it look to the beginning after i am finished, so i do not have to restart it each time. Does anyone know?
Why don't you learn Java first before making a Java application? O_o
The following 2 users say thank you to TheUberFail for this useful post:
right and wrong. If your using a loop like his case you want it to run at least once do a do while is better for loading. I know the difference is not much and your method still works however getting use to the proper format and use of codes will help in the long run.
right and wrong. If your using a loop like his case you want it to run at least once do a do while is better for loading. I know the difference is not much and your method still works however getting use to the proper format and use of codes will help in the long run.
I did it an easy way. I just put
int repeat;
repeat++;
do{
..........
}while(repeat<=3);
Its somthing like that i cant remember everything i put.