Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

write in cpp Ubbi Dubbi, also called Pig Greek or Double Dutch, is a language game spoken with the English language. This gibberish language is

write in cpp
image text in transcribed
Ubbi Dubbi, also called Pig Greek or Double Dutch, is a language game spoken with the English language. This gibberish language is really a game played by kids and it was popularized by the long-running PBS television show ZOOM and by Bill Cosby in Fat Albert and the Cosby kids. Each English word is transformed into Ubbi Dubbi by inserting a morpheme-ub- before the vowels of a word. When spoken quickly, it can really sound like a completely different language. There are even a few dialects" of Ubbi Dubbi. Some examples of the transformation are as follows: English Ubbi Dubbi Hello Hubellubo. Good morning Gubood mubornubing How do you do? Hubow dubo yubou dubo? Write a program that transforms a string into Ubbi Dubbi by inserting the infix -ub-before the first vowel in every syllable. Syllables normally start with or without consonants, followed by vowels and may or may not end with consonants, such as "Wow". However, in reality, some syllables are phonetic in nature. They start with a vowel, followed by consonants and end with another vowel. The program will only be able to transform strings using the first definition PROGRAM DESIGN Each input string is transformed into Ubbi Dubbi by a function named getubbi, it calls another function named is vowel, which determines whether a character is a vowel or not. After the call to getubbi, the main function prints the transformed string INPUT Each line of input contains a character array. If the string entered is O, the program quits running. OUTPUT The program prints the Ubbi Dubbi form of the string after each corresponding line of input

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Explain the various techniques of Management Development.

Answered: 1 week ago