Guest User

Untitled

a guest
May 21st, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include "stdio.h"
  2.  
  3. int main() {
  4. int bil = 0;
  5. printf("Masukkan bilangan: "); scanf("%d", &bil);
  6. for (int i = 1; i <= bil; i++) {
  7. if(bil%i == 0){
  8. printf("%d\n", i);
  9. }
  10. }
  11. return 0;
  12. }
Add Comment
Please, Sign In to add comment