Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <inttypes.h>
- int main(void) {
- int16_t a, b, sum;
- printf("enter a number:\n");
- scanf("%hhd", &a);
- printf("enter another number:\n");
- scanf("%hhd", &b);
- sum = a + b;
- printf("These numbers have the sum of %d", sum);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement