Create FaktorBilangan.c

master
MD15 2020-04-10 12:38:35 +07:00 committed by GitHub
parent 1a45d67f34
commit 53c2a6da17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#include <stdio.h>
int main () {
int i,awal;
scanf("%d",&awal);
for(i=awal;i>=1;i--) {
if(awal % i == 0) {
printf("%d\n",i);
}
}
}