Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) {
- int a = 0;
- int half = 0;
- boolean first = true;
- while (true) {
- if (first) {
- first = false;
- a = 100; // formula
- half = a /2;
- continue;
- }
- if (a == half) {
- break;
- }
- a = 100; // formula
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement