Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
Re: Primzahlen ausgeben (Problem)
16. Mär 2009, 14:52
Hi,
Ich hab dir doch schon gesagt:
i mod i
ist Schwachsinn.. Überleg dir doch mal
1 mod 1
2 mod 2
3 mod 3
4 mod 4
Da kommt IMMER 0 raus.
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."
|