fixes
This commit is contained in:
parent
0b5ce2cc00
commit
d0743f28c3
4 changed files with 16 additions and 3 deletions
13
.vscode/settings.json
vendored
Normal file
13
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"presentation-mode.configBackup": {
|
||||
"editor.fontSize": "undefined",
|
||||
"editor.matchBrackets": "undefined",
|
||||
"editor.minimap.enabled": "undefined",
|
||||
"editor.scrollbar.verticalScrollbarSize": "undefined",
|
||||
"workbench.activityBar.visible": "undefined",
|
||||
"workbench.statusBar.visible": "undefined",
|
||||
"workbench.colorTheme": "undefined",
|
||||
"workbench.colorCustomizations": "undefined",
|
||||
"window.zoomLevel": "undefined"
|
||||
}
|
||||
}
|
|
@ -7,7 +7,7 @@ public class Deers {
|
|||
while (deers < 300) {
|
||||
i++;
|
||||
deers = (int) (deers * 1.1) - 15;
|
||||
System.out.println("Nach " + i + " Jahren: " + deers + " Rehe");
|
||||
System.out.println("Nach " + i + " Jahren: " + deers + " Hirsche");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ public class ShoeSize {
|
|||
for (int ShoeSize = 30; ShoeSize <= 45; ShoeSize++) {
|
||||
double centimeterMin = (ShoeSize - 1) / 1.5;
|
||||
double centimeterMax = ShoeSize / 1.5;
|
||||
System.out.printf("%10.2f - %10.2f | %10d\n", centimeterMin, centimeterMax, ShoeSize);
|
||||
System.out.printf("%10.2f - %10.2f | %10d%n", centimeterMin, centimeterMax, ShoeSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ public class TemperatureTable {
|
|||
System.out.println("-----------+--------");
|
||||
for (int fahrenheit = 0; fahrenheit <= 300; fahrenheit += 20) {
|
||||
double celsius = (fahrenheit - 32) * 5.0 / 9.0;
|
||||
System.out.printf("%10d | %6.1f\n", fahrenheit, celsius);
|
||||
System.out.printf("%10d | %6.1f%n", fahrenheit, celsius);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue