Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int a, b, c, temp;
- scanf("%d %d %d", &a, &b, &c);
- temp= a-b*c;
- if(temp > a-b-c){
- temp = a-b-c;
- }
- printf("%d\n", temp);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement