-
-
Save gabrielcesar/a1c56e85eeacd5750f00c834674f0c4e to your computer and use it in GitHub Desktop.
g) Difference
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* g | |
* Difference | |
*/ | |
#include <stdio.h> | |
int main ( void ) | |
{ | |
int a; | |
int b; | |
int c; | |
int d; | |
scanf ( "%d", &a ); | |
scanf ( "%d", &b ); | |
scanf ( "%d", &c ); | |
scanf ( "%d", &d ); | |
printf ( "DIFERENCA =%d\n", ( a * b - c * d )); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment