Question: I'm learning about Algorithm, professor ask we solve the problem in pseudocode, not in C++. I cannot figure out. For example: How do you figure

I'm learning about Algorithm, professor ask we solve the problem in pseudocode, not in C++. I cannot figure out.

For example: How do you figure out how many vowels are in a word?

Answer: Prompt for word. Loop through each letter. If it is aeiou then add one to TotalVowels. After last letter, print TotalVowels.

The question is below:

To organize lines at the Bad Programmer Convention, the client wants to know who would be first and last in line if everyone lined up alphabetically by last name. The user will type in names until they are done and then the first and last names are printed. Note: Their device is tiny so it doesn't have the memory to store all the names. You cannot store all the names.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!