1. Loop Choices.
For each of the following problems, decide whether a counting loop structure, a
while
structure, or a do-while
structure should be used, and write a pseudocode algorithm.- Print the names of all visitors to your Web site.
- Validate that a number input by the user is positive.
- Change all the backslashes (
) in a Windows Web page address to the slashes (/) used in a Unix Web page address. - Find the car with the best miles-per-gallon ratio among the cars in the Consumer Reports database.