Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- main()
- {
- int n1 , n2 ;
- printf ("1º número? ");
- scanf ("%d", &n1);
- printf ("2º número? ");
- scanf ("%d", &n2);
- if (n1 % n2 == 0) printf ("É múltiplo !\n");
- else printf ("Não é múltiplo !\n");
- return 0 ;
- }
Advertisement
Add Comment
Please, Sign In to add comment