|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectde.hska.java.aufgaben.kontrollstrukturen.HarshadZahl
public class HarshadZahl
Eine Harshadzahl ist eine natürliche Zahl, die durch ihre Quersumme teilbar ist. Zum Beispiel ist 777 durch 7 + 7 + 7 = 21 teilbar und damit eine Harshadzahl.
| Constructor Summary | |
|---|---|
HarshadZahl()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Gibt alle Harshadzahlen bis 100 aus. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HarshadZahl()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
(c) Prof. Dr. Christian Pape --- Übersicht aller Java-Programmieraufgaben