Question
Help java programing using eclipse. The wedding planner company, Tying the Knot, has asked you to create a program that would allow the wedding party
Help java programing using eclipse.
The wedding planner company, Tying the Knot, has asked you to create a program that would allow the wedding party to enter each reception dinner choice and will total the number of each type of meal. The program will need to do the following: Validate the number of user input to ensure that it is greater than 0 The choices for dinner will be: o Beef o Chicken o Fish o Vegetarian You are guaranteed that the user will enter one of the above 4 choices only and that all entries will be lowercase only There will be both a definite and an indefinite loop in the program o You must determine which one if which and use the appropriate code for each situation, i.e. for with the definite loop and while or do/while with the indefinite loop Must use printf() wherever appropriate, i.e. whenever printing a variable
Required elements
Must use the appropriate selection structure for the situation
Must use the appropriate repetition structure for the loop situation
Must use the appropriate print method for the situation
Must do data validation where indicated/necessary
Must have welcome and ending messages
Output must be similar to below
Welcome to Tying the Knot Wedding Planner Guide
For each guest, please enter he/her choice for dinner: Beef, Chicken, Fish, or Vegetarian.
How many guests will there be? 4
Enter the choice for guest 1: beef
Enter the choice for guest 2: fish
Enter the choice for guest 3: fish
Enter the choice for guest 4:
chicken There will be 4 meals
1 Beef
1 Chicken
2 Fish
0 Vegetarian
Thank you for your business.
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