Question: Add a method named problem 1 that keeps asking the user for words and joins them together. Each word should start with an uppercase letter

Add a method named problem1 that keeps asking the user for words and joins them together. Each word should start with an uppercase letter and the rest of letters in the word should be lowercase. All the words should be separated by a space. When the user decides to stop, return the joined string. (10 pts)
Add a method named problem2 that asks the user for a string. Count and return the frequency of letter A. The letters are not case-sensitive, so for example, you should treat A and a as the same letter. (10 pts)
Add a method named problem3 that accepts a string and reverses it by manipulating indices. (10 pts)
Add a method named problem4 to remove the 10-th index character from the given string and return
the result. If 10 is an invalid index, return an error message. (10 pts)
Add a method named problem5 that accepts an adjective, forms an adverb from the adjective, and returns the adverb.
In most cases, an adverb is formed by adding -ly to an adjective. For example, quick quickly
If the adjective ends in -y, replace the y with i and add -ly. For example, easy easily
Iftheadjectiveendsin-able,-ible,or-le,replacethe-ewith-y.Forexample,gentlegently Iftheadjectiveendsin-ic,add-ally.Forexample,basicbasically.(10pts)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!