cours-info/InvVars.java

29 lines
266 B
Java
Raw Normal View History

2019-05-30 19:38:31 +00:00
import static utils.Utils.*;
public class InvVars {
public static final void main(String[] args) {
afficher("Inversion");
int a= 5;
int b= 1;
afficher("a = ",a);
afficher("b = ",b);
int c=a;
a=b;
b=c;
afficher("a = ",a);
afficher("b = ",b);
}
}