ohje ohje
Was mir direkt ins Auge springt:
int i, anzahl; //Zählvariablen
float zahl[i];
das geht so nicht, da i nicht initialisiert ist und damit dein zahlenarray eine unvorhersehbare größe bekommt. Schau dir mal malloc() an. (Dein Zahlenproblem wird wohl eher logischer natur sein, ich schau später nochmal drüber)
|