Compare commits

..

No commits in common. "2c5ec0e958a8711da05c0a83f2ca74fda2c8ed03" and "8af4c7fb7012f31ad43152d28515e1343f8d8bef" have entirely different histories.

2 changed files with 0 additions and 42 deletions

View File

@ -1,22 +0,0 @@
import static utils.Utils.*;
public class Somme { // FIXME A CHANGER
public static final void main(String[] args) {
int n=3;
afficher("Somme", n, somme(n));
}
public static int somme(int n){
int result = 0;
for(int i = 0; i <= n; i++){
result = i+result;
}
return result;
}
}

View File

@ -1,20 +0,0 @@
import static utils.Utils.*;
public class TableMult {
public static final void main(String[] args) {
afficher("Tables de multiplication");
for(int table = 1; table <= 9; table++){
for(int mult = 1; mult <= 9; mult++){
afficher(table, "x", mult, "=", table*mult);
}
}
}
}