bessere Reihenfolge
This commit is contained in:
parent
d0306217bb
commit
f384c6d1d0
@ -174,6 +174,8 @@ class Darlehenberechner {
|
||||
konfig.setZinssatzProzent((BigDecimal) DECIMAL_FORMAT.parse(dis.readLine()));
|
||||
System.out.print("Monatliche Rate: ");
|
||||
konfig.setMonatlicheRate((BigDecimal) DECIMAL_FORMAT.parse(dis.readLine()));
|
||||
System.out.print("Monat erste Rate(z.B. 2007-12): ");
|
||||
konfig.setAnfangsmonat(YearMonth.parse(dis.readLine()));
|
||||
System.out.print("Laufzeit in Jahren(optional Jahre:Monate): ");
|
||||
String in = dis.readLine();
|
||||
if (in != null && !in.isBlank()) {
|
||||
@ -191,8 +193,6 @@ class Darlehenberechner {
|
||||
if (in != null && !in.isBlank()) {
|
||||
konfig.setTilgungsfreieZeit(Integer.parseInt(in));
|
||||
}
|
||||
System.out.print("Monat erste Rate(z.B. 2007-12): ");
|
||||
konfig.setAnfangsmonat(YearMonth.parse(dis.readLine()));
|
||||
System.out.print("Sondertilgungssatz(optional): ");
|
||||
in = dis.readLine();
|
||||
if (in != null && !in.isBlank()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user