philhowell
02-26-03, 13:07
| how can i have a nested "if statement" in a "while statement" where the if statment uses a variable that the while statment alternates on each line thanx phil |
View Full Version : how can i have a nested "if statement" in a "while statement"
| how can i have a nested "if statement" in a "while statement" where the if statment uses a variable that the while statment alternates on each line thanx phil |
| What the problem with it? while (A < B) { if (A == C) { DoSomething(); } A++; } |