/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package sommeproduitreels;

/**
 *
 * @author therbron
 */
public class SommeProduitReels {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        float premierReel = 5;
        float secondReel = 4;
        float troisiemeReel = 8;
        float quatriemReel = 2;
        
        System.out.println(premierReel + "+" + secondReel + "+" + troisiemeReel + "+" + quatriemReel + " = " + (premierReel + secondReel + troisiemeReel + quatriemReel));
        System.out.println(premierReel + "*" + secondReel + "*" + troisiemeReel + "*" + quatriemReel + " = " + premierReel * secondReel * troisiemeReel * quatriemReel);
    }
    
}