cours 2 algo

This commit is contained in:
Debucquoy
2023-02-14 17:45:04 +01:00
parent 5c73c32975
commit 93ae5a67d2
6 changed files with 92 additions and 3 deletions

27
q2/cours2/Couple.java Normal file
View File

@ -0,0 +1,27 @@
public class Couple {
private int q;
private int r;
public Couple(int q, int r) {
this.q = q;
this.r = r;
}
public void setQ(int q) {
this.q = q;
}
public int getQ() {
return q;
}
public void setR(int r) {
this.r = r;
}
public int getR() {
return r;
}
}