How would the flow charts and pseudocode look for this?

The Metric Conversion application is a menu-driven program. First, the program displays a Main Menu that states the purpose of the program and allows the user to select one of five metric system measurements or quit the program in the following manner:

Press the 1 key to convert meters to U.S. yards
Press the 2 key to convert kilometers to U.S. miles
Press the 3 key to convert kilograms to U.S. pounds
Press the 4 key to convert milliliters to U.S. ounces
Press the 5 key to convert liters to U.S. gallons
Press the 6 key to quit the program

After the user selects a metric measurement and the program confirms the entry is valid, the program prompts the user to enter an amount of the selected metric measurement (0.0 to 10000.0). For example, if the user selected the first menu option, the prompt message should be displayed in the following manner:

Enter the amount of meters to convert:

After user enters a metric measurement amount and the program confirms the entry is valid, the program converts the metric amount to an equivalent amount of a corresponding U.S. measurement.

Finally, the program then displays the equivalent U.S. measurement amount in the following manner:

10.25 meters is equivalent to 11.2094 U.S. yards

Here are the metric system measurements and U.S. conversions to be used:
Conversion Type: Conversion Formula:
Meters to yards 1 meter = 1.0936 U.S. yards
Kilometers to miles 1 kilometer = 0.6214 U.S. miles
Kilograms to pounds 1 kilogram = 2.205 U.S. pounds
Milliliters to ounces 1 milliliter = 0.0338 U.S. ounces
Liters to gallons 1 liter = 0.264 U.S. gallons

To create flowcharts and pseudocode for the Metric Conversion application, we can follow these steps:

Step 1: Start
Step 2: Display Main Menu
Step 3: Accept user's choice
Step 4: If choice is 1, convert meters to U.S. yards
- Display prompt message "Enter the amount of meters to convert:"
- Accept the metric measurement amount
- Validate the input
- Convert meters to U.S. yards using the conversion formula
- Display the equivalent U.S. measurement amount
- Go to Step 2
Step 5: If choice is 2, convert kilometers to U.S. miles
- Display prompt message "Enter the amount of kilometers to convert:"
- Accept the metric measurement amount
- Validate the input
- Convert kilometers to U.S. miles using the conversion formula
- Display the equivalent U.S. measurement amount
- Go to Step 2
Step 6: If choice is 3, convert kilograms to U.S. pounds
- Display prompt message "Enter the amount of kilograms to convert:"
- Accept the metric measurement amount
- Validate the input
- Convert kilograms to U.S. pounds using the conversion formula
- Display the equivalent U.S. measurement amount
- Go to Step 2
Step 7: If choice is 4, convert milliliters to U.S. ounces
- Display prompt message "Enter the amount of milliliters to convert:"
- Accept the metric measurement amount
- Validate the input
- Convert milliliters to U.S. ounces using the conversion formula
- Display the equivalent U.S. measurement amount
- Go to Step 2
Step 8: If choice is 5, convert liters to U.S. gallons
- Display prompt message "Enter the amount of liters to convert:"
- Accept the metric measurement amount
- Validate the input
- Convert liters to U.S. gallons using the conversion formula
- Display the equivalent U.S. measurement amount
- Go to Step 2
Step 9: If choice is 6, quit the program
- End the program

The pseudocode can be written as follows:

```
Display "Main Menu"
Repeat until choice is 6:
Accept choice from user
If choice is 1:
Display "Enter the amount of meters to convert:"
Accept metric_measurement from user
If metric_measurement is valid:
Convert metric_measurement to U.S. yards using conversion formula
Display the equivalent U.S. measurement amount
Else:
Display error message and go back to Main Menu
Else if choice is 2:
Display "Enter the amount of kilometers to convert:"
Accept metric_measurement from user
If metric_measurement is valid:
Convert metric_measurement to U.S. miles using conversion formula
Display the equivalent U.S. measurement amount
Else:
Display error message and go back to Main Menu
Else if choice is 3:
Display "Enter the amount of kilograms to convert:"
Accept metric_measurement from user
If metric_measurement is valid:
Convert metric_measurement to U.S. pounds using conversion formula
Display the equivalent U.S. measurement amount
Else:
Display error message and go back to Main Menu
Else if choice is 4:
Display "Enter the amount of milliliters to convert:"
Accept metric_measurement from user
If metric_measurement is valid:
Convert metric_measurement to U.S. ounces using conversion formula
Display the equivalent U.S. measurement amount
Else:
Display error message and go back to Main Menu
Else if choice is 5:
Display "Enter the amount of liters to convert:"
Accept metric_measurement from user
If metric_measurement is valid:
Convert metric_measurement to U.S. gallons using conversion formula
Display the equivalent U.S. measurement amount
Else:
Display error message and go back to Main Menu
Else if choice is 6:
End the program
Else:
Display error message and go back to Main Menu
```

With this flowchart and pseudocode, you can implement the Metric Conversion application in a programming language of your choice.