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);
- // divisão total
- total = n1 / n2; // Divisão
- printf(“Divisao: %i”,total);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement