Answered step by step
Verified Expert Solution
Question
1 Approved Answer
JAVA uestion 3 FoodieDelivery is a food delivery service that delivers meals from a number of restaurants around Montreal. They've decided to come up with
JAVA
uestion 3 FoodieDelivery is a food delivery service that delivers meals from a number of restaurants around Montreal. They've decided to come up with a subscription program with the following details . The "PayPerDelivery" subscription allows you to pay per use, each delivery costs $3.00 The "OccassionalFoodie" subscription costs $15/month and allows you to order food 6 times a month with each additional delivery costing $2 The "MontrealFoodie" subscription costs $30/month and allows you to order food 3 times a week (12 times a month) with each additional delivery costing $1.50 . Write a program that helps a customer decide which subscription is best for them based on the number of food orders they make per month. The program should ask the user to enter the number of times they typically order food in a month. Calculate the cost of each subscription type and determine the best financial option for the user based on his input and price of the subscription plus extra deliveries. In each of the cases, compute the savings from the other subscriptions. Note, if the value of the next subscription is equal to that of the lower subscription, recommend the higher subscription (e.g. for 5 deliveries both PayPerDelivery and OccassionalFoodie the cost is $15.00 and you should recommend the OccassionalFoodie (see output 2) You can leave more than 2 decimal places for the prices and you should not compute taxes Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started