Upload files to 'stuff'
This commit is contained in:
parent
a6f0ccd262
commit
f74c5a114c
|
@ -0,0 +1,19 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
unsigned long long n, i, j = 0;
|
||||
|
||||
printf("Input a number: ");
|
||||
scanf("%llu", &n);
|
||||
|
||||
printf("\nDividers:\n");
|
||||
for (i = 1; i <= n; i++) {
|
||||
if (n % i == 0) {
|
||||
printf("%llu\n", i);
|
||||
j++;
|
||||
}
|
||||
}
|
||||
|
||||
printf("\n\nNumber of dividers: %llu\n", j);
|
||||
}
|
Loading…
Reference in New Issue