Use the main method provided to you to test the accuracy of your code. If coded correctly, this should be your output when you execute the program: pr

Viewed 13

removeSpaces - Receives a String as a parameter, and returns a new String containing all of the exact same characters, except the spaces. ○ For example: removeSpaces(“Hi how are you”) should return “Hihowareyou”.

I am having trouble on how to do this code even if its just removing spaces.

the link to the code is here ------- https://www.jdoodle.com/ia/j3v

0 Answers
Related