Skip to main content

Practice · 1 of 3

The word encoder

CHALLENGE
Difficulty: intermediate+25 XP

A cipher replaces each **vowel** (a, e, i, o, u — lowercase only) with the NEXT letter of the alphabet; every other character is unchanged. Implement encode(String word). Example: "banana" → "bbnbnb" (a→b twice, a→b again).

Back to lesson: Practice: Integration gauntlet