Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#2

Re: Primzahlen ausgeben (Problem)

  Alt 16. Mär 2009, 13:32
Hi,

Also 2 Sachen fallen mir direkt mal auf:

Du hast i nicht initialisiert. i ist in deiner Schleife ein beliebiger Wert.
Und rate mal was

i mod i = 0 wohl immer liefern wird..
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat