Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include "sum.h"
- int main(){
- int a, b;
- scanf("%d%d", &a, &b);
- // int sumA = sum(a);
- /*
- int sumA = sum(5);
- => int sumA = 15;
- int sumA = sum(5) * 8 + 4;
- => int sumA = 15 * 8 + 4;
- */
- // int sumB = sum(b);
- printf("%d\n", sum(a));
- printf("%d\n", sum(b));
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement