Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int n1,n2,total;
- // get n1
- printf("n1: ");
- scanf("%d",n1);
- // get n2
- printf("n2: ");
- scanf("%d",n2);
- // soma total
- total = n1 + n2; // soma
- printf("Soma: %i",total);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement