How do I print the 'cnt' variable from the second method in the 'main' method? Thank you : [I want to print the returned 'cnt' varible in the 'main' method][1]


  [1]: https://i.stack.imgur.com/N5wxR.png