Commit eda7860
authored
Fix and enhance Java snippets
The counter should start from 1 in the Java example 4 and 19, because the corresponding COBOL loop also starts from 1.
The commented out counter variable increment is fixed.
The commented out "write print-rec" is changed by System.out.println.
Signed-off-by: Janos Varga <[email protected]>1 parent b76ce00 commit eda7860
File tree
1 file changed
+14
-16
lines changed- COBOL Programming Course #2 - Learning COBOL
1 file changed
+14
-16
lines changedLines changed: 14 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1777 | 1777 | | |
1778 | 1778 | | |
1779 | 1779 | | |
1780 | | - | |
1781 | | - | |
1782 | | - | |
| 1780 | + | |
| 1781 | + | |
1783 | 1782 | | |
1784 | 1783 | | |
1785 | 1784 | | |
| |||
2011 | 2010 | | |
2012 | 2011 | | |
2013 | 2012 | | |
2014 | | - | |
2015 | | - | |
2016 | | - | |
2017 | | - | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
2018 | 2017 | | |
2019 | 2018 | | |
2020 | 2019 | | |
| |||
2035 | 2034 | | |
2036 | 2035 | | |
2037 | 2036 | | |
2038 | | - | |
2039 | | - | |
2040 | | - | |
2041 | | - | |
2042 | | - | |
2043 | | - | |
| 2037 | + | |
| 2038 | + | |
| 2039 | + | |
| 2040 | + | |
| 2041 | + | |
2044 | 2042 | | |
2045 | 2043 | | |
2046 | 2044 | | |
| |||
2069 | 2067 | | |
2070 | 2068 | | |
2071 | 2069 | | |
2072 | | - | |
2073 | | - | |
2074 | | - | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
2075 | 2073 | | |
2076 | 2074 | | |
2077 | 2075 | | |
| |||
0 commit comments