Miscellany
public text v1 · immutable// Aufgabe 9, 04.12.2006
#include <stdio.h>
main()
{
int n;
do
{
n=1;
printf("Bitte ganze Zahl groesser 0 eingeben!");
scanf("%i",&n);
printf("\n");
}while(n<=0);
for(int i=1; i<=n; i++)
{
if(n%i==0)
{
printf("%i\n",i);
}
}
getchar();
getchar();
}