Compare commits

..

No commits in common. "68fa123bfe5d37e18ac1fa3d5c09cfcfdb0842ca" and "c02cfdbac6100ffc8244cc860499c76d91f79d4d" have entirely different histories.

2 changed files with 3 additions and 32 deletions

View File

@ -4,22 +4,6 @@ public class FizzBuzz {
public static final void main(String[] args) {
for (int a=1; a<=199; a++){
if (a%3==0){
if (a%5==0) {
afficher("FizzBuzz");
} else {
afficher("Fizz");
}
} else{
if (a%5==0){
afficher("Buzz");
} else{
afficher(a);
}
}
}
}
}

View File

@ -9,20 +9,7 @@ public class Somme2 {
}
public static final int somme2(int n, int p) {
if (n<=p){
int r=0;
for (int q=n; q<=p; q++){
r=r+q;
}
return r;
}
else {
return somme2(p,n);
}
}
return 0;
}
}