Design a pseudocode program that loads an array with the following 7 values. Add one more word (of your own choosing) for a total of 8 words.
biff
comely
fez
mottle
peruke
bedraggled
quisling
Be sure to use lowercase, as shown above. This will make the processing easier.
pseudocode:
step1:First create the array of words and store in the array
words=["biff","comely","fez","mottle","peruke","bedraggled","quisling"]
step2:iterate over each word in the words then take the user input word
step3: compare each word with the userinout word if the match is found then print the "Yes,that word is in the dictionary" the if the all elements are finisdhed
step4:still if we can't find the word then print "No,that word is not in the dictionary"
Sample code in python:
Get Answers For Free
Most questions answered within 1 hours.