This commit is contained in:
EmmanuelTiamzon
2025-09-30 09:43:41 +02:00
parent f7de13bc2a
commit 7019a3b7ea
176 changed files with 9458 additions and 149 deletions

View File

@@ -0,0 +1,22 @@
/*Emmanuel SRIVASTAVA-TIAMZON*/
public class Filtre {
private String[] chaine;
private String[] newChaine;
public Filtre(String[] chaine) {
this.chaine = chaine;
}
public String filtrage(String[] chaine) {
for(int i = 0;i != this.chaine.length(); i++) {
if(chaine[i].isLowerCase()) {
this.newChaine += chaine[i];
}
}
return this.newChaine;
}
}

View File

@@ -0,0 +1,13 @@
/*Emmanuel SRIVASTAVA-TIAMZON*/
public class FiltreII {
public static void main(String[] args) {
for(int i = 0;i != args.length(); i++) {
if(args[i].isLowerCase() || é || è || à || ù || ç){
System.out.print(args[i]);
}
if (args[i].isWhitespace()) {
System.out.println("");
}
}
}