Initial Commit

This commit is contained in:
2024-05-14 18:45:10 -04:00
commit c90b3a95fe
10 changed files with 421 additions and 0 deletions

27
CS6 - Demo/Main.java Normal file
View File

@@ -0,0 +1,27 @@
public class Main {
public static void main(String[] args) {
for(int i = 0; i < 10; i++) {
if(i == 2 || i == 5) {
continue;
} else if(i == 7) {
break;
}
System.out.println("For Index Number: " + i);
}
int counter = 0;
while(counter < 10) {
if(counter == 2 || counter == 5) {
counter++;
continue;
} else if(counter == 7) {
break;
}
System.out.println("While Index Number: " + counter);
counter++;
}
}
}