Question: Please help using c++ or any other problem language to solve these problems Exercise 1: Choose the most repeated word and the largest number, then
Exercise 1: Choose the most repeated word and the largest number, then create a new word with the previous incremented number.
stringWithNumbers = [one1,two1,three3,one2,one4,three4] Most repeated: one4 New string = one5 New array = [one1,two1,three3,one2,one4,three4, one5]
Exercise 2: Change every letter to the next letter in the alphabet and then reverse. str = usa => vtb => btv
Exercise 3: Write a function isPalindrome(str) to check if a word is palindrome or not. racecar is palindrome madam is palindrome
calendar is not palindrome
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
