Example 10: Conditional letter coding
Last Updated On: Sat Aug 29 2026Given Data
- Letter digit codes: E = 2, M = 7, B = 6, O = 4, U = 5, R = 8.
- Condition 1: If both the first and last letters are vowels, both are coded as '@'.
- Condition 2: If both the first and last letters are consonants, both are coded as '#'.
Question
What is the code for the word 'EMBOU'?
Answer
@764@.
Solution
- Check the first and last letters of 'EMBOU':
- First letter is 'E' (vowel) and last letter is 'U' (vowel).
- Since both first and last letters are vowels, Condition 1 applies.
- Replace both 'E' and 'U' with '@'.
- Substitute standard digits for the middle letters: M = 7, B = 6, O = 4.
- Combine the coded values: '@' + 7 + 6 + 4 + '@' = '@764@'.
- Therefore, 'EMBOU' is coded as '@764@'.
PreviousShowing 11 / 11