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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!