Files
clearn/varnum.c

29 lines
335 B
C
Raw Permalink Normal View History

2017-02-07 20:03:49 +00:00
#include <stdio.h>
-- Das sollte man besser mathematisch l<EFBFBD>sen, siehe 10tox
char c[20];
int basis=10;
int len=2;
int max;
int stelle;
int i;
int main()
{
for (i=0;i < len;c[i++]='0')
;
max=len;
while (max >= 0)
{
stelle=max--;
for (i=0;i < basis;i++)
{
c[stelle]=i+'0';
printf("%s\n",c);
}
}
}