Answer the question
In order to leave comments, you need to log in
How to implement the work of two cycles at the same time?
Hello, how to implement the work of two infinite loops at the same time?
For example, here:
int i = 0;
int c = 1;
int a = 0;
int b = 1;
while (i < c) {
System.out.println("1");
}
while (a < b) {
System.out.println("2");
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question