mirror of
https://github.com/System-End/APCSA.git
synced 2026-04-19 22:15:15 +00:00
12 lines
326 B
Java
12 lines
326 B
Java
public class U6_L3_Activity_Three {
|
|
|
|
public static void printUn(String[] words) {
|
|
for (int i = 0; i < words.length; i++) {
|
|
if (
|
|
words[i].length() >= 2 && words[i].substring(0, 2).equals("un")
|
|
) {
|
|
System.out.println(words[i]);
|
|
}
|
|
}
|
|
}
|
|
}
|