Write a method called countNonSpaces that takes in a string as a parameter and returns an integer that represents the number of non- space (i.e. not'') characters contained in the string. (4 marks)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!