Java/Diferenca.java
<reponame>carlosneto726/URIimport java.io.IOException;
import java.util.Scanner;
public class Diferenca {
 
    public static void main(String[] args) throws IOException {
        Scanner input = new Scanner(System.in);
        int a = input.nextInt();
        int b = input.nextInt();
        int c = input.nextInt();
        int d = input.nextInt();

        int dif = ((a * b) - (c * d));

        System.out.println(String.format("DIFERENCA = %d", dif));
        input.close();
    }
 
}