Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design For Mere Mortals

Authors: Michael J Hernandez

4th Edition

978-0136788041

More Books

Students also viewed these Databases questions

Question

1.The difference between climate and weather?

Answered: 1 week ago

Question

1. What is Fog ?

Answered: 1 week ago

Question

How water vapour forms ?

Answered: 1 week ago

Question

What is Entrepreneur?

Answered: 1 week ago

Question

Which period is known as the chalolithic age ?

Answered: 1 week ago