Voilà , le programme en question :
Malheureusement ça ne marche pas et je ne vois pas où 
J'ai beau chercher je ne trouve pas , merci dem'aider si vous trouver
void main() {
int c, nombre_phrase = 0,nombre_mots = 0,Nombre_lettres = 0,n = 0;
String f;
//resetConsole();
n = readInt();
openFileReader("nomDuFichier.txt");
openFileWriter("fichier2.txt");
c = readNextCode();
char alphabet[] = {
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'g', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}
;
while (c != - 1) {
if (c >= 97 && c <= 119) {
c = c + 3;
}
if (c >= 120 && c <= 122) {
c = c + 23;
}
if (c == 33 || c == 46 || c == 63) {
nombre_phrase ++;
}
if (c == 32 || c == 45) {
nombre_mots ++;
}
afficheCodeAuFormatCar(c);
WriteNextCode(c);
c = readNextCode();
nombre_lettres ++;
}
// End While
nombre_lettres = nombre_Lettres - (nombre_phrase + nombre_mots);
print("il y a " + nombre_lettres);
println("lettres");
print("ainsi que" + nombre_phrase);
println(" phrases");
print(" et aussi" + nombre_mots);
println("mots");
closeFileReader();
closeFileWriter();
}