1007 - Difference



Problem Link

A Solution in c

#include<stdio.h>
int main()
{
    int A, B, C, D, DIFERENCA;
    scanf("%d %d %d %d", &A, &B, &C, &D);
    DIFERENCA = (A * B - C * D);
    printf("DIFERENCA = %d\n",DIFERENCA);
    return 0;
}





No comments

Theme images by Jason Morrow. Powered by Blogger.