Posts by Antonio Pedro Ferreira • 51 points
2 posts
-
3
votes4
answers84
viewsA: Show the output of a custom vector
I’m not sure I understand your question, but I updated your code, as the expected output you posted. initially imagined that it would be printed BA only for multiples of 4 and 5, but saw that in…
-
2
votes3
answers2337
viewsA: How to count characters from a String ignoring whitespace?
If you change the return order of your method, the error will no longer happen, however it will not do what you want. The sensible thing would be for you to return the value length after removing…
javaanswered Antonio Pedro Ferreira 51