Pawel Pawlowicz wrote: . . . Please UseCodeTags <- click
Since OP is new, I have added code tags this time, and doesn't it look better now.
Welcome to the Ranch
Ogie Santos
There is always something wrong with a method as long as yours. A
main method should be short. Very short. Any method that long is a mistake until proven otherwise.
The code tags also highlight the inconsistent formatting: some {} indented and some not, and
ifs and
if‑elses crammed together without {}. Have a look at our
formatting suggestions. Consistent formatting and indentation make it much easier to avoid errors.