Question
Can someone help in OUBuild please: The teacher wishes to see if her pupils can make sense of words in which certain letters have been
Can someone help in OUBuild please:
The teacher wishes to see if her pupils can make sense of words in which certain letters have been duplicated. She requires a when[space]key_pressed script that will take a word from the user and display a new word that is the same as the original except that all letters in the first half of the alphabet (a to m inclusive) have been duplicated. The user should input the word as a single string and the new word that is displayed should be a single string. So for example if the user enters 'rhinocerous' then 'rhhiinocceerous' is displayed. One way to think about creating the new word for display is to start with the new word as an empty string and then work through the letters in the original word from first to last, creating the new word incrementally a.Create and write down an algorithm to solve this problem. You might like to use the ideas above, or alternatives of your own. b.Create a when[space]key_pressed script to implement your algorithm. Depending on your algorithm and the way in which you choose to implement it, you may also decide to have a when_green_flag_clicked script.
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