1 Write A Function That Takes A Number Such As 52 And Returns The Number As A Word A 2041611
1. Write a function that takes a number, such as 52, and returns the number as a word, as in fifty-two.
2. Write a subroutine that takes a simple sentence in noun-verb-object form and parses the sentence into its different parts. For example, the sentence
“Mary walked the dog” is parsed into this:
Noun: Mary
Verb: walked
Object: the dog
This function should work with both String objects and StringBuilder objects.