Write a program that reads a five-letter word from the user and produces all possible three-letter words that can be derived from the letters of the five-letter word. For example, the three-letter words produced from the word “bathe” include the commonly used words

ate bat bet tab hat the tea


```

1

2

3

4

5

6 Three letter words

7

47

48

Enter a five-letter word:

49
<

Computer Science & Information Technology

You might also like to view...

If data is being read from a file for a program in batch mode, a prompt is replaced with what?

What will be an ideal response?

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1. When the properties in the Properties window are displayed alphabetically, the (name) property appears at the bottom of the list. 2. To add a control to a form, you find it in the Toolbox and then double-click it. 3. You cannot click and drag controls from the Toolbox onto a form. 4. Once a control has been added to a form, it cannot be deleted.

Computer Science & Information Technology

How do you hide the Camera layer to move graphics on other layers?

What will be an ideal response?

Computer Science & Information Technology

The Replace All option, in the Find and Replace dialog box, should be used only when the search string is ________

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology