c++ please
Here's the premise: the Fast Freight Shipping Company charges the following rates: Write a program for the company that asks for the weight of the package and the distance it will be shipped, and display the total charge. Your program should validate the inputs it receives. If the program receives an invalid input value, it should tell the user that the value is wrong and what the range for the valid values is, and then ask them to rerun the prograrn with valid inputs. (For an example of input validation, check out section 4.11 in the textbook). Your program should ensure that: - The weight of the package is not 0kg or less, or greater than 20kg (It can be exactly 20, but not exactly 0.) - The distance shipped is not less than 10 miles, or greater than 3,000 miles. (it can be exactly 10 or exactly 3,000 ) Make sure your program shows a prompt whenever it asks for input or provifes loutput: Your program should use appropriate types for the variables and show the total price using two decinal places of precision. The price calculation should use the following formula: (distance /500) rote Sample outputs: Part I sample Part 2: Making Choices Part 2: Making Choices For this part you will be creating a program that asks for your dietary restrictions and then provides you with a list o local restaurants you are able to eat at. The restaurant choices and the options they provide are as follows: - Joe's Gourmet Burgers - Vegetarian: no, Vegan: no, Gluten-free: no - Main Street Pizza Company - Vegetarian: yes, Vegan: no, Gluten-free: yes - Corner Cafe - Vegetarian: yes, Vegani yes, Gluten-free: yes - Mama's Fine Italian - Vegetarian: yes, Vegan: no, Gluten-free: no - The Chef' Kitchen - Vegetarian: yes, Vegan: yes, Gluten-free: yes Write a program that asks if you are vegetarian, vegan, or gluten-free, and then displays only the restaurants you cat eat at. Here is an example of the program's output (user inputs are italicized): Are you veetarian? yes Are you vegan? no Are- you oluten-frre? yer Here are your restaurant choleest Main Street fizza Company