Answered step by step
Verified Expert Solution
Question
1 Approved Answer
All done in Java Code changeVowels Change all the vowels in a string to the letter 'x' Example, hello -> hxllx changeVowels(hello) - hxllx changeVowels(Oh
All done in Java Code changeVowels Change all the vowels in a string to the letter 'x' Example, "hello" -> "hxllx" changeVowels("hello") - "hxllx" changeVowels("Oh my gosh") - "xh my gxsh" changeVowels("bird bird bird bird is the word") - "bxrd bxrd bxrd bxrd xs thx wxrd" getRidOfOddIndexChar Get rid of all the characters that have an odd index. ("hello" -> "hlo") getRidofOddIndexChar("javascript") - "jvsrp" getRid OfOddIndexChar("code") - "cd" getRidofOddIndexChar("pizza") - "pza" getMoney For Prof Professor BigBucks gets paid $300 per hour. But for overtime (any amount of time above 8 hours), the hourly rate is multiplied by 1.5. Calculate the amount of pay for the professor getMoneyForProf(8) - 2400.0 getMoneyForProf(4) - 1200.0 getMoney For Prof(10) - 3300.0 getShouting String You are going to add a certain number of the character 'a' to the end of a string. For example, for the input 5, you will add five 'a' chars to a string. ("Sparta" -> "Spartaaaaaa") getShoutingString("Sparta", 5) - "Spartaaaaaa" getShoutingString("Gonna", 3) - "Gonnaaaa" getShouting String("Ya", 10) - "Yaaaaaaaaaaa
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started