/* nom du fichier : prog.java */
public class prog {

    final static float pi = 3.141592653F;
    final static int N = 2592653;
    final static long M = 2141592653;

    public static void main(String[] args) {
        System.out.println("Bienvenu en IPO !!!");
        int i = 5;
        int j = 4 * i + 2;
        System.out.println("j = " + j);
        System.out.println("" + j + j);
        boolean b = ((3 <= j) && (j <= 15));
        System.out.println(b);
        String s = "blabla";
        System.out.println(s + "toto");
        s = s + s;
        // s[2] = 'i'; les chaînes sont immutable.
        System.out.println(s);
        System.out.println("pi = " + pi);
        if (pi > 3.1F) {
            System.out.println("Plus grand");
        } else {
            System.out.println("Plus petit");
        }
        for (int k = 0; k < 10; k++) {
            System.out.println(k);
        }
        System.out.println(k);
    }
}
