Given the type of food , quantity( No of plates) and the distance in kms from the restaurant to the delivery point. Write a Python program to calculate the final bill amount to be paid by the customer.
The Below information should be used to check the validity of the data provided by the customer:
- Type of food must be “V” for vegetarian and “N” for non-vegetarian
-Distance in kms must be greater than 0
-Quantity ordered should be minimum 1
If any of the input is invalid, the bill amount should be considered -1
#write your logic here
#Provide different values for food_type,quantity_ordered,distance_in_kms and test your program