Write a program that inputs four words and then displays all possible permutations of the words
Write a program that inputs four words and then displays all possible permutations of the words
1. Write a program that inputs four words and then displays all possible permutations of the words. So, for example, if the words mad, dog, bites and man are entered, then the following are outputs:
man bites mad dog
mad man bites dog
mad bites man dog
etc.
2. Set up two arrays to contain pairs of equivalent English and Spanish words. Then input an English word, look up its Spanish equivalent and display it. Make sure you check to see whether the word is actually in the dictionary. Then add the facility to translate in the opposite direction, using the same data.
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


