char aLetter; aLetter = 'x';
Input DaB -> let's turn all the letters into upper case. DAB Permutations abc acb bac bca cab cba Output: DAB DBA ABD ADB BAD BDA
Prompt the user for the first letter Read in the first letter Convert the first letter to upper case. Prompt the user for the second letter Read in the second letter Convert the second letter to upper case. Prompt the user for the third letter Read in the third letter Convert the third letter to upper case. Print abc, acb, bac, bca, cab, cba
What if the user types in a non-letter (digit, symbol, ...) -> Just use it.