Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main(int argc, char *argv[])
- {
- int x, y;
- printf("Insira o primeiro numero:");
- scanf("%d", &x);
- printf("Insira o segundo numero:");
- scanf("%d", &y);
- if (x%y==0) {
- printf ("%d eh multplo de %d", x,y);
- }
- else {
- printf ("%d nao eh multplo de %d\n\n", x,y);
- }
- system("PAUSE");
- return 0;
- }
Add Comment
Please, Sign In to add comment